File tree Expand file tree Collapse file tree
Service.AddressBook.Grpc/Models
Service.AddressBook/Services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,5 +22,6 @@ public enum GlobalSendErrorCode
2222 ContactNotFound ,
2323 InvalidIban ,
2424 InvalidNickname ,
25- IbanNotReachable
25+ IbanNotReachable ,
26+ InvalidBic ,
2627}
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ public async Task<OperationResponse> CreateWithIbanAsync(AddIbanRequest request)
313313 return new OperationResponse ( )
314314 {
315315 IsSuccess = false ,
316- ErrorCode = GlobalSendErrorCode . InvalidIban
316+ ErrorCode = GlobalSendErrorCode . InvalidBic
317317 } ;
318318 }
319319
@@ -449,7 +449,7 @@ public async Task<OperationResponse> UpdateContactAsync(UpdateContactRequest req
449449 return new OperationResponse ( )
450450 {
451451 IsSuccess = false ,
452- ErrorCode = GlobalSendErrorCode . InvalidIban
452+ ErrorCode = GlobalSendErrorCode . InvalidBic
453453 } ;
454454 }
455455 record . Bic = request . Bic ;
You can’t perform that action at this time.
0 commit comments