Update create.ts

This commit is contained in:
Acid Chicken (硫酸鶏) 2020-02-02 01:35:20 +09:00 committed by GitHub
parent 3e7b342cc6
commit a48336303f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
}
// ハッシュタグ更新
if (data.visibility == 'public' || data.visibility == 'home') {
if (data.visibility === 'public' || data.visibility === 'home') {
for (const tag of tags) updateHashtag(user, tag);
}