fix: wrong variable
This commit is contained in:
parent
74f0231ec1
commit
18a172cd29
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||
const filter = async (notes: ScyllaNote[]) => {
|
||||
let filtered = notes.filter((n) => n.renoteId === note.id);
|
||||
if (ps.userId) {
|
||||
filtered = notes.filter((n) => n.userId === ps.userId);
|
||||
filtered = filtered.filter((n) => n.userId === ps.userId);
|
||||
}
|
||||
filtered = await filterVisibility(filtered, user, followingUserIds);
|
||||
if (user) {
|
||||
|
|
Loading…
Reference in a new issue