fix: image uploads
This commit is contained in:
1 parent
5f1036ffb5
commit
6a48c554b7
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -136,7 +136,7 @@ export async function uploadImage(
|
||||
instance: string,
|
||||
jwt: string
|
||||
): Promise<string | undefined> {
|
||||
if (!image || jwt) return
|
||||
if (!image) return
|
||||
|
||||
const formData = new FormData()
|
||||
formData.append('images[]', image)
|
||||
|
||||
Reference in new issue
Block a user