Skip to content

Conversation

abirismyname
Copy link
Contributor

@abirismyname abirismyname commented May 9, 2024

This pull request primarily focuses on improving the handling of environment variables in the GitHubApi.ts and MainComponent.vue files. The changes include adding a console log to notify when mock data is being used, throwing an error when the VUE_APP_GITHUB_TOKEN environment variable is not set, and displaying a message on the main component when mock data is being used.

User Feedback Enhancements:

Error Handling Improvements:

  • src/api/GitHubApi.ts: Added error handling to throw an error when the VUE_APP_GITHUB_TOKEN environment variable is not set. This prevents the application from making API calls without the necessary authentication token.

@martedesco martedesco self-requested a review May 10, 2024 07:39
@martedesco martedesco merged commit c5ccd1d into github-copilot-resources:main May 30, 2024
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