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

Feature | Fetch Data from API #201

Merged
merged 6 commits into from
Nov 10, 2023
Merged

Feature | Fetch Data from API #201

merged 6 commits into from
Nov 10, 2023

Conversation

ThatcherK
Copy link
Contributor

No description provided.

@ThatcherK ThatcherK force-pushed the feature/fetch-data-from-api branch from 8c3aee6 to 304ed31 Compare November 9, 2023 12:26
@ThatcherK ThatcherK requested a review from wakibi November 9, 2023 12:34
wakibi
wakibi previously approved these changes Nov 9, 2023
Copy link

@wakibi wakibi left a 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!

@@ -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/';
Copy link

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

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ThatcherK ThatcherK requested a review from wakibi November 10, 2023 10:05
@ThatcherK ThatcherK merged commit 5dcd892 into dev Nov 10, 2023
5 checks passed
@ThatcherK ThatcherK deleted the feature/fetch-data-from-api branch November 10, 2023 16:35
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