Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Update src/helpers/issue.ts
Browse files Browse the repository at this point in the history
Co-authored-by: whilefoo <139262667+whilefoo@users.noreply.github.com>
wannacfuture and whilefoo authored Aug 17, 2023
1 parent 6a2ecf0 commit a8615c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/issue.ts
Original file line number Diff line number Diff line change
@@ -352,7 +352,7 @@ export const checkUserPermissionForOrg = async (username: string, context: Conte
// @ts-expect-error This looks like a bug in octokit. (https://github.com/octokit/rest.js/issues/188)
return res.status === 204;
} catch (e: unknown) {
logger.error(`Checking if user permisson for repo failed!, reason: ${e}`);
logger.error(`Checking if user permisson for org failed!, reason: ${e}`);
return false;
}
};

0 comments on commit a8615c3

Please sign in to comment.