-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature | Fetch Data from API #201
Conversation
8c3aee6
to
304ed31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with a minor comment... And thanks for cleaning up some of the linting issues you saw. Well done!
src/utils/constants.js
Outdated
@@ -1,2 +1,3 @@ | |||
// eslint-disable-next-line import/prefer-default-export | |||
export const NO_DATA = 0; | |||
export const DATA_API_URL = 'https://api.datahub.go.ug/document/data/'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest to use BASE_DATA_API_URL
... since there is an id (slug) to be appended at the end
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
No description provided.