fix: add return type

This commit is contained in:
Namekuji 2023-08-05 15:54:32 -04:00
parent 83c00ee340
commit fed5ab7125
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -403,7 +403,7 @@ export async function filterMutedUser(
notes: ScyllaNote[], notes: ScyllaNote[],
user: { id: User["id"] }, user: { id: User["id"] },
exclude?: User, exclude?: User,
) { ): Promise<ScyllaNote[]> {
const userCache = await UserMutingsCache.init(user.id); const userCache = await UserMutingsCache.init(user.id);
let mutedUserIds = await userCache.getAll(); let mutedUserIds = await userCache.getAll();