Fix error
This commit is contained in:
parent
275e1c8de9
commit
53d46d1cbe
|
@ -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 New Issue