Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to Services so that content actually loads from backend. #93

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

nh602
Copy link
Collaborator

@nh602 nh602 commented Feb 28, 2024

  • Changed HttpClient's settings to avoid CORS error
  • Created HttpClient in index.js to pass to services ( improperly created with baseURL before)
  • Updated vendor service repository to return undefined instead of throw error. If we throw error in the catch statement, then what is the point of using a try catch? Need to handle errors gracefully.

@nh602 nh602 merged commit 59129bb into main Feb 28, 2024
1 check passed
@nh602 nh602 deleted the frontendServicesFix branch February 28, 2024 22:24
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.

1 participant