Skip to content

Commit

Permalink
fix: remove body from GET /report/{reportId} request
Browse files Browse the repository at this point in the history
GET requests with a request body are rejected at GKE ingress
  • Loading branch information
strassl-snyk committed Feb 20, 2023
1 parent b01e757 commit ff03ba5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,6 @@ export async function getReport(
},
url: `${options.baseURL}/report/${options.reportId}`,
method: 'get',
body: {
reportId: options.reportId,
},
};

const res = await makeRequest<UploadReportResponseDto>(config);
Expand Down

0 comments on commit ff03ba5

Please sign in to comment.