Skip to content

Commit

Permalink
removing console log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vikhyat187 committed Nov 27, 2024
1 parent c3233ae commit e141a81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/awsAccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const addUserToAWSGroup = async (req, res) => {
const { groupId, userId } = req.body;

try {
console.log("discord id ", userId);
const userInfoData = await dataAccess.retrieveUsers({ discordId: userId, level: userDataLevels.ACCESS_LEVEL.INTERNAL, role: 'cloudfare_worker'});
if (!userInfoData.userExists) {
return res.status(400).json({ error: "User not found" });
Expand Down

0 comments on commit e141a81

Please sign in to comment.