Skip to content

Commit

Permalink
Merge pull request #1021 from betagouv/main
Browse files Browse the repository at this point in the history
MEP [TRELLO-2930] Fix wrong path (#1020)
  • Loading branch information
charlescd authored Feb 21, 2025
2 parents 008d418 + c89337e commit 05da997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/clients/SignalConsoApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class SignalConsoApiClient {
}

removeUploadedFile = (file: UploadedFile) => {
return this.client.delete<void>(`reports/files/temporary/${file.id}?filename=${encodeURI(file.filename)}`)
return this.client.delete<void>(`/reports/files/temporary/${file.id}/${encodeURIComponent(file.filename)}`)
}

rateSubcategory = (category: string, subcategories: Subcategory[], positive: boolean): Promise<void> => {
Expand Down

0 comments on commit 05da997

Please sign in to comment.