Fix: fix #2207
This commit is contained in:
parent
4794032e49
commit
ca17d3da1b
7 changed files with 136 additions and 91 deletions
|
@ -62,7 +62,7 @@
|
|||
return
|
||||
}
|
||||
|
||||
await state?.imageUploadManager.uploadImageAndApply(file, tags, targetKey)
|
||||
await state?.imageUploadManager?.uploadImageAndApply(file, tags, targetKey)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
state.reportError(e, "Could not upload image")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue