Skip to content

Commit

Permalink
Change query_paged?field_handle=-1
Browse files Browse the repository at this point in the history
  • Loading branch information
zoldax committed Jul 9, 2024
1 parent 7062953 commit f5d8ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion countincident.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def fetch_incidents(res_client):
]
}
#response = res_client.post("/incidents/query_paged?return_level=full", payload=payload)
response = res_client.post("/incidents/query_paged?ield_handle=-1", payload=payload)
response = res_client.post("/incidents/query_paged?field_handle=-1", payload=payload)
return response.get("data", [])
except Exception as e:
logging.error("Error fetching incidents: %s", e)
Expand Down

0 comments on commit f5d8ca9

Please sign in to comment.