From 74913e642d1e1057c65eeee6a6060445bacc1e0a Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Fri, 31 May 2024 10:07:58 +0900 Subject: [PATCH] chore: removed debug --- src/handlers/query-user.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/handlers/query-user.ts b/src/handlers/query-user.ts index 48f8c2b..56b8dd4 100644 --- a/src/handlers/query-user.ts +++ b/src/handlers/query-user.ts @@ -12,7 +12,6 @@ async function checkUserAccess(context: Context, username: string) { owner: payload.repository.owner.login, }); } catch (e) { - console.log(JSON.stringify(e)); if (!!e && typeof e === "object" && "status" in e && e.status === 404) { await context.logger.fatal(`User @${payload.comment.user.login} cannot request user ${username} as it is not a collaborator.`); return false;