Fix error

This commit is contained in:
syuilo 2019-04-13 18:23:32 +09:00
parent fcbe004e7c
commit df231ff3bd

View file

@ -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({