Merge branch 'onpoint-stock-update' into develop

This commit is contained in:
Sinh 2024-04-16 12:11:00 +07:00
commit 0ea412e725
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func (c *Client) requestHttpViaNats(data model.CommunicationRequestHttp, res int
httputil.HeaderKeyContentType: httputil.HeaderValueApplicationJSON, httputil.HeaderKeyContentType: httputil.HeaderValueApplicationJSON,
} }
data.Payload.Query = map[string]string{} data.Payload.Query = map[string]string{}
data.Payload.URL = u.String()
return ec.Request(subject.Communication.RequestHTTP, data, res) return ec.Request(subject.Communication.RequestHTTP, data, res)
} }