Skip to content

Commit

Permalink
fix(SILVA-515): updated submission trends endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Dec 5, 2024
1 parent a69e5d5 commit fab1e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/services/OpeningService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function fetchOpeningsPerYear(props: IOpeningPerYear): Promise<Open
const authToken = getAuthIdToken();
try {
// Construct URL with optional parameters
let url = backendUrl.concat("/api/dashboard-metrics/submission-trends");
let url = backendUrl.concat("/api/users/submission-trends");
if (props.orgUnitCode || props.statusCode || props.entryDateStart || props.entryDateEnd) {
url += '?';
if (props.orgUnitCode) url += `orgUnitCode=${props.orgUnitCode}&`;
Expand Down

0 comments on commit fab1e69

Please sign in to comment.