diff --git a/src/handlers/comment/handlers/query.ts b/src/handlers/comment/handlers/query.ts index 8f78c537f..3334225b3 100644 --- a/src/handlers/comment/handlers/query.ts +++ b/src/handlers/comment/handlers/query.ts @@ -25,9 +25,15 @@ export const query = async (body: string) => { const repo = payload.repository; if (user) { - const data = await getAllAccessLevels(user, repo.full_name); + let data = await getAllAccessLevels(user, repo.full_name); if (!data) { - return `Error retrieving access for @${user}`; + logger.info(`Access info does not exist for @${user}`); + data = { + multiplier: false, + priority: false, + time: true, + price: false, + }; } const walletInfo = await getWalletInfo(user, id?.toString()); if (!walletInfo?.address) {