fix: image uploads

This commit is contained in:
Xyphyn committed 2023-09-26 20:23:09 -07:00
1 parent 5f1036ffb5
commit 6a48c554b7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)