Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoerlitz committed Mar 20, 2024
1 parent bdf862c commit 55959b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/http/apiController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 55959b1

Please sign in to comment.