Skip to content

Commit

Permalink
fix: getPostureHistory api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
benwaples committed Jan 13, 2025
1 parent 5b6274e commit 05e779c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/javascript/js-client-library/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class BHEAPIClient {
end?: Date,
options?: types.RequestOptions
) => {
return this.baseClient.get<PostureHistoryResponse>(`/api/v2/attack-paths/posture-history/${dataType}`, {
return this.baseClient.get<PostureHistoryResponse>(`/api/v2/posture-history/${dataType}`, {
params: { environments, start: start?.toISOString(), end: end?.toISOString() },
paramsSerializer: { indexes: null },
...options,
Expand Down

0 comments on commit 05e779c

Please sign in to comment.