feat: add v0.19.0 support
This commit is contained in:
1 parent
b3b8a10e44
commit
119ab53946
62 files changed
+188
-157
No files matched your search
@@ -41,7 +41,6 @@
|
||||
|
||||
try {
|
||||
await getClient().followCommunity({
|
||||
auth: $profile.jwt,
|
||||
community_id: community_view.community.id,
|
||||
follow: !subscribed,
|
||||
})
|
||||
@@ -61,7 +60,6 @@
|
||||
|
||||
try {
|
||||
await getClient().blockCommunity({
|
||||
auth: $profile.jwt,
|
||||
community_id: community_view.community.id,
|
||||
block: !blocked,
|
||||
})
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
|
||||
const res = edit
|
||||
? await getClient().editCommunity({
|
||||
auth: $profile.jwt,
|
||||
title: formData.displayName,
|
||||
description: formData.sidebar,
|
||||
nsfw: formData.nsfw,
|
||||
@@ -59,7 +58,6 @@
|
||||
community_id: edit,
|
||||
})
|
||||
: await getClient().createCommunity({
|
||||
auth: $profile.jwt,
|
||||
name: formData.name,
|
||||
title: formData.displayName,
|
||||
description: formData.sidebar,
|
||||
|
||||
Reference in new issue
Block a user