Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tyboro2002 committed May 22, 2024
1 parent 5c0ca72 commit 5d06d7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface StructureCheckState {
setStructureChecks: (
structureChecks: StructureCheck[],
projectId: string,
selfprocessError?: boolean
selfprocessError?: boolean,
) => Promise<void>;
deleteStructureCheck: (id: string, selfprocessError?: boolean) => Promise<void>;
}
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/composables/services/submission.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down

0 comments on commit 5d06d7b

Please sign in to comment.