Update inventory detail #31

Merged
trunglt251292 merged 4 commits from update-inventory-detail into master 2022-09-22 10:58:29 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 952c09ccba - Show all commits

View File

@ -18,7 +18,7 @@ func GetNews() News {
// GetProductNoticesByInventory ...
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 {
return nil, err
}