summary refs log tree commit diff
path: root/api/src/routes/users/@me/index.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-13 19:12:19 +0200
committerGitHub <noreply@github.com>2021-09-13 19:12:19 +0200
commitad5ec039af68235a1a58438cc135d66afae3e5d9 (patch)
tree53aa04806a8855af25f8ac1b7384830b5e060a4a /api/src/routes/users/@me/index.ts
parentEmit USER_UPDATE, fix #214 (diff)
downloadserver-ad5ec039af68235a1a58438cc135d66afae3e5d9.tar.xz
Update index.ts
Diffstat (limited to '')
-rw-r--r--api/src/routes/users/@me/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/users/@me/index.ts b/api/src/routes/users/@me/index.ts
index a8c0edc4..c0002d79 100644
--- a/api/src/routes/users/@me/index.ts
+++ b/api/src/routes/users/@me/index.ts
@@ -37,7 +37,7 @@ router.patch("/", route({ body: "UserModifySchema" }), async (req: Request, res:
 
 	//Need to reload user from db due to https://github.com/typeorm/typeorm/issues/3490
 	const user = await User.findOneOrFail({ where: { id: req.user_id }, select: PrivateUserProjection });
-
+	// TODO: send update member list event in gateway
 	await emitEvent({
 		event: "USER_UPDATE",
 		user_id: req.user_id,