mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-10 19:17:03 +00:00
Typo
This commit is contained in:
committed by
Erkin Alp Güney
parent
b46fd104aa
commit
0f77e9c5fc
@@ -22,7 +22,7 @@ router.get("/", route({ test: { response: { body: "UserRelationsResponse" } } })
|
||||
relations: ["relationships"]
|
||||
});
|
||||
const self_relations = await User.findOneOrFail({
|
||||
where: { id: req.params.id },
|
||||
where: { id: req.user_id },
|
||||
relations: ["relationships"]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user