Feature/get bank info #23

Closed
nguyenphamquangtue wants to merge 57 commits from feature/get-bank-info into master
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