+
{{ $t("a.Datei kann nicht gespeichert werden.") }}
diff --git a/client/src/services/files.ts b/client/src/services/files.ts index 3a6ae62d..37d18cfd 100644 --- a/client/src/services/files.ts +++ b/client/src/services/files.ts @@ -107,7 +107,19 @@ export async function fetchCourseSessionDocuments(courseSessionId: string) { return itGetCached(`/api/core/document/list/${courseSessionId}/`); } -export async function presignUpload(file: File) { +type PresignResponse = { + pre_sign: { + url: string; + fields: Record