Skip to content

Commit

Permalink
adress review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
niraj-elastic committed Apr 16, 2024
1 parent 71f14eb commit b2f0f47
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ program: |
).as(state, state.next >= size(state.hostlist) ? {} :
request("GET", string(state.hostlist[state.next])).with({
"Header": {
"Accept": ["application/vnd.atlas." + string(timestamp(now).getFullYear()) + "-01-01+json"]
"Accept": ["application/vnd.atlas." + string(now.getFullYear()) + "-01-01+json"]
}
}).do_request().as(res, {
"events": bytes(res.Body).decode_json().as(f, f.with({"response": zip(
Expand All @@ -66,4 +66,4 @@ program: |
"group_id": state.group_id,
"query": state.query,
})
)
)

0 comments on commit b2f0f47

Please sign in to comment.