fix: fix posts not working
This commit is contained in:
1 parent
e54031faae
commit
013d2341f9
4 files changed
+5
-4
No files matched your search
@@ -109,7 +109,7 @@
|
||||
dispatcher('submit', post.post_view)
|
||||
} else {
|
||||
let image = data.image ? await uploadImage(data.image[0]) : undefined
|
||||
data.url = image || data.url
|
||||
data.url = image || data.url || undefined
|
||||
const post = await getClient().createPost({
|
||||
auth: $authData.token,
|
||||
community_id: data.community!,
|
||||
|
||||
Reference in new issue
Block a user