summary refs log tree commit diff
path: root/api/src
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
commit68eae50a63df0a84d75c05abce5142a33f4c5bd3 (patch)
treeb2ba1159baebf0c0abf59c46f2cd2d726a5e6b77 /api/src
parentEmit USER_UPDATE, fix #214 (diff)
downloadserver-68eae50a63df0a84d75c05abce5142a33f4c5bd3.tar.xz
Update index.ts
Diffstat (limited to 'api/src')
-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,