feat(onpoint): get inventories #17

Merged
sinhluu merged 8 commits from onpoint-stock-update into master 2024-05-08 07:26:17 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 76eeabdf7f - Show all commits

View File

@ -211,7 +211,10 @@ func (c *Client) requestHttpViaNats(data model.CommunicationRequestHttp, res int
}
qs := ""
for k, v := range data.Payload.Query {
qs += "&" + k + "=" + v
if qs != "" {
qs += "&"
}
qs += k + "=" + v
}
now := time.Now().Unix()
ts := strconv.FormatInt(now, 10)