hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
206 stars 264 forks source link

fix: wrong export csv axios url #1571

Closed JoshuaOloton closed 2 months ago

JoshuaOloton commented 2 months ago

Description

This pull request addresses an issue with the export CSV functionality, where the wrong URL was being used for the Axios request. The URL has been corrected to ensure that the correct organization ID is included in the endpoint path.

Changes proposed

What were you told to do?

What did you do?

Corrected the export CSV functionality by updating the Axios call URL to include the correct organization ID (currentOrgId) in the endpoint path.

Check List (Check all the applicable boxes)

🚨Please review the contribution guideline for this repository.

Screenshots/Videos

github-actions[bot] commented 2 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 14.5% 782 / 5393
🔵 Statements 14.17% 784 / 5530
🔵 Functions 14.05% 215 / 1530
🔵 Branches 9.68% 229 / 2364
File CoverageNo changed files found.
Generated in workflow #567