bank info

This commit is contained in:
Tue 2022-09-14 14:14:27 +07:00
parent b32ceefab1
commit e1a18df726
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func GetBank() 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))
if err != nil {
return nil, err