Improved upload

This commit is contained in:
Sebastian Seedorf
2022-08-18 10:38:48 +02:00
parent ffb93d9da4
commit d97786f880
11 changed files with 93 additions and 52 deletions

View File

@@ -91,7 +91,7 @@ interface StoredFile {
excludedSuggestions: string[]
}
export const postFetchJson = async (url: string, body: Dict<unknown>) => {
export const postFetchJson = async (url: string, body: unknown) => {
const res = await fetch(url, {
method: 'POST',
headers: {