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

Submission #1 #107

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

p-sturtevant
Copy link

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

The code changes look good overall. Here are a few suggestions:

  1. It would be better to use single quotes consistently for string literals throughout the file.
  2. The indentation of the try-catch block is inconsistent. Please make sure it aligns with the surrounding code.
  3. Consider adding a comment explaining why the error is being rethrown.

Great job on handling the error and rethrowing it to avoid returning undefined!

Copy link
Member

Choose a reason for hiding this comment

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

Great job on this PR! I have a couple of suggestions:

  1. In the COMPANIES_API_PATH constant, please use double quotes instead of single quotes for consistency.

  2. It would be great to add a newline at the end of the file to follow common coding conventions.

Other than that, the changes look good!

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