feature/update-warehouse-into-supplier #44
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue