fix: err
This commit is contained in:
parent
78ffe9387c
commit
84e3e8d0d6
|
@ -9,7 +9,7 @@ export default async (req, latus) => {
|
||||||
[]
|
[]
|
||||||
.concat(user ? [user.id] : [])
|
.concat(user ? [user.id] : [])
|
||||||
.concat(user ? await user.blocks() : [])
|
.concat(user ? await user.blocks() : [])
|
||||||
.concat(await chatUserIds(latus, req))
|
.concat(await chatUserIds(req, latus))
|
||||||
.concat(
|
.concat(
|
||||||
(user ? await user.friendships() : [])
|
(user ? await user.friendships() : [])
|
||||||
.reduce((r, {addeeId, adderId}) => ([...r, addeeId, adderId]), []),
|
.reduce((r, {addeeId, adderId}) => ([...r, addeeId, adderId]), []),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user