feature/update-warehouse-into-supplier #44

Merged
Ghost merged 8 commits from feature/update-warehouse-into-supplier into master 2022-10-11 07:22:47 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit e1a18df726 - Show all commits

View File

@ -17,7 +17,7 @@ func GetBank() Bank {
return Bank{} return Bank{}
} }
func (s Bank) GetBankInfoByID(bankID model.BankRequestPayload) (*model.BankBrief, error) { func (s Bank) GetBankById(bankID model.BankRequestPayload) (*model.BankBrief, error) {
msg, err := natsio.GetServer().Request(subject.Bank.GetBankById, toBytes(bankID)) msg, err := natsio.GetServer().Request(subject.Bank.GetBankById, toBytes(bankID))
if err != nil { if err != nil {
return nil, err return nil, err