Merge branch 'update-inventory-detail' of github.com:Selly-Modules/natsio into develop
This commit is contained in:
		
						commit
						a9cc99994f
					
				| 
						 | 
					@ -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
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue