Fix error

This commit is contained in:
syuilo 2019-04-13 18:23:32 +09:00
parent 275e1c8de9
commit 53d46d1cbe
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -63,7 +63,9 @@ export async function updateHashtag(user: User, tag: string, isUserAttached = fa
}
}
if (Object.keys(set).length > 0) {
q.execute();
}
} else {
if (isUserAttached) {
Hashtags.save({