From 55959b19189aebc4af9dbb6d0b16f97cfe56bdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20G=C3=B6rlitz?= Date: Wed, 20 Mar 2024 11:10:05 +0100 Subject: [PATCH] add log --- src/http/apiController.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/http/apiController.ts b/src/http/apiController.ts index ca969aa..fcf52b2 100644 --- a/src/http/apiController.ts +++ b/src/http/apiController.ts @@ -76,6 +76,8 @@ async function updateMember(req: Request, res: Response) { const cid = req.body.cid; const teams: string[] = req.body.teams; + console.log(`Attempting to update User: ${cid}. Teams: ${teams}...`); + const user: UserDocument | null = await userService.getUserByCid(cid); const guildMember: GuildMember | undefined = await findGuildMemberByDiscordID(user?.discordId);