mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 06:00:44 +01:00
Fix error
This commit is contained in:
parent
275e1c8de9
commit
53d46d1cbe
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@ export async function updateHashtag(user: User, tag: string, isUserAttached = fa
|
|||
}
|
||||
}
|
||||
|
||||
q.execute();
|
||||
if (Object.keys(set).length > 0) {
|
||||
q.execute();
|
||||
}
|
||||
} else {
|
||||
if (isUserAttached) {
|
||||
Hashtags.save({
|
||||
|
|
Loading…
Reference in a new issue