refactor: remove unused variable

This commit is contained in:
Namekuji 2023-09-18 21:27:25 -04:00
parent 2644bffedb
commit 6eb2f713f7
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -101,7 +101,6 @@ export default define(meta, paramDef, async (ps, user) => {
}
let [
followingUserIds,
mutedUserIds,
mutedInstances,
blockerIds,
@ -110,14 +109,12 @@ export default define(meta, paramDef, async (ps, user) => {
let mutedWords: string[][];
if (user) {
[
followingUserIds,
mutedUserIds,
mutedInstances,
mutedWords,
blockerIds,
blockingIds,
] = await Promise.all([
LocalFollowingsCache.init(user.id).then((cache) => cache.getAll()),
UserMutingsCache.init(user.id).then((cache) => cache.getAll()),
InstanceMutingsCache.init(user.id).then((cache) => cache.getAll()),
userWordMuteCache