Skip to content

Conversation

karpikpl
Copy link
Collaborator

When NUXT_PUBLIC_IS_PUBLIC_APP is set to true, application will read GitHub app installations for logged in user and redirect to the first organization on the returned list.

@karpikpl karpikpl requested a review from Copilot February 19, 2025 07:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (3)

server/routes/auth/github.get.ts:8

  • [nitpick] Consider using a proper logging library instead of console for logging.
const logger = console;

server/routes/auth/github.get.ts:43

  • [nitpick] The error message 'No organizations found for the user.' could be more descriptive.
console.error('No organizations found for the user.');

server/routes/auth/github.get.ts:49

  • The error should be cast to FetchError to ensure proper type handling.
catch (error: FetchError) {

@karpikpl karpikpl merged commit efe93d0 into main Feb 25, 2025
6 of 7 checks passed
@karpikpl karpikpl deleted the fix/gh-app branch February 25, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants