diff --git a/src/services/ui/src/api/submissionService.ts b/src/services/ui/src/api/submissionService.ts index 4971dcccb..107335abf 100644 --- a/src/services/ui/src/api/submissionService.ts +++ b/src/services/ui/src/api/submissionService.ts @@ -162,8 +162,8 @@ export const submit = async >({ })); // Upload attachments await Promise.all( - uploadRecipes.map(({ url, data }) => { - fetch(url, { + uploadRecipes.map(async ({ url, data }) => { + await fetch(url, { body: data, method: "PUT", });