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 a9cc99994f - Show all commits

View File

@ -18,7 +18,7 @@ func GetNews() News {
// GetProductNoticesByInventory ... // GetProductNoticesByInventory ...
func (n News) GetProductNoticesByInventory(p model.GetProductNoticesByInventoryRequest) (*model.GetProductNoticesByInventoryResponse, error) { func (n News) GetProductNoticesByInventory(p model.GetProductNoticesByInventoryRequest) (*model.GetProductNoticesByInventoryResponse, error) {
msg, err := natsio.GetServer().Request(subject.News.GetProductNoticesByInventory, bsonToBytes(p)) msg, err := natsio.GetServer().Request(subject.News.GetProductNoticesByInventory, toBytes(p))
if err != nil { if err != nil {
return nil, err return nil, err
} }