Improved upload
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user