Skip to content

Commit

Permalink
Merge branch 'main' into develop #2261
Browse files Browse the repository at this point in the history
  • Loading branch information
sfinx13 committed Feb 20, 2024
2 parents 3b8f49d + 764dec7 commit 5ff3f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/vue/components/signalement-form/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const requests = {
},
doRequestPostUpload (ajaxUrl: string, data: any, functionReturn: Function, config: any) {
const axiosInstance = axios.create({
timeout: 120000
timeout: 0 // TODO: va nécéssiter d'apporter quelques retouches sur l'UX
})
axiosInstance
.post(ajaxUrl, data, config)
Expand All @@ -47,7 +47,7 @@ export const requests = {
})
.catch(error => {
console.error(error)
Sentry.captureException(new Error('The file upload timed out.'))
Sentry.captureException(new Error('Something wrong happened with the upload.'))
functionReturn(error)
})
},
Expand Down

0 comments on commit 5ff3f30

Please sign in to comment.