openedx / frontend-app-discussions

A React-based micro frontend for the Open edX discussion forums.
GNU Affero General Public License v3.0
6 stars 64 forks source link

fix: fixed api calling issues for admin #691

Closed sundasnoreen12 closed 7 months ago

sundasnoreen12 commented 7 months ago

INF-1295

Description

Fetched course config and blocks api for global user even if user is not enrolled in the course.

Merge Checklist

Post-merge Checklist

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.85%. Comparing base (c0873df) to head (49f41a9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #691 +/- ## ========================================== + Coverage 92.84% 92.85% +0.01% ========================================== Files 160 160 Lines 3311 3319 +8 Branches 899 898 -1 ========================================== + Hits 3074 3082 +8 Misses 218 218 Partials 19 19 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.