diff --git a/frontend/src/composables/services/structure_check.service.ts b/frontend/src/composables/services/structure_check.service.ts index b6cd3658..6e2a984a 100644 --- a/frontend/src/composables/services/structure_check.service.ts +++ b/frontend/src/composables/services/structure_check.service.ts @@ -17,7 +17,7 @@ interface StructureCheckState { setStructureChecks: ( structureChecks: StructureCheck[], projectId: string, - selfprocessError?: boolean + selfprocessError?: boolean, ) => Promise; deleteStructureCheck: (id: string, selfprocessError?: boolean) => Promise; } diff --git a/frontend/src/composables/services/submission.service.ts b/frontend/src/composables/services/submission.service.ts index 6b04ed41..609ceadb 100644 --- a/frontend/src/composables/services/submission.service.ts +++ b/frontend/src/composables/services/submission.service.ts @@ -43,9 +43,7 @@ export function useSubmission(): SubmissionState { uploadedFiles.forEach((file: File) => { formData.append('files', file); // Gebruik 'files' in plaats van 'files[]' }); - await create( - endpoint, formData, submission, Submission.fromJSON, 'multipart/form-data', selfprocessError, - ); + await create(endpoint, formData, submission, Submission.fromJSON, 'multipart/form-data', selfprocessError); } async function deleteSubmission(id: string, selfprocessError: boolean = true): Promise {