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