Skip to content

Commit

Permalink
Merge pull request #357 from ufabc-next/fix/endpoint-issue
Browse files Browse the repository at this point in the history
fix: changing endpoint calls to solve frontend issue
  • Loading branch information
Joabesv authored Feb 8, 2025
2 parents ae0e682 + cc55eec commit ff93987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/services/src/performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ type HistoriesGraduations = {
};

export const Performance = {
getCrHistory: () => api.get<QuadInformation[]>('courseStats/user/grades'),
getCrHistory: () => api.get<QuadInformation[]>('courseStats/history'),
getCrDistribution: () => api.get<CrDistributionData[]>('courseStats/grades'),
getHistoriesGraduations: () =>
api.get<HistoriesGraduations>('courseStats/history'),
api.get<HistoriesGraduations>('/courseStats/user/grades'),
};

0 comments on commit ff93987

Please sign in to comment.