Skip to content

Commit

Permalink
Wire up bulk copy reviews api (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored May 11, 2022
1 parent 29ea39b commit e010a92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/client/src/app/api/rest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ export const getApplicationSummaryCSV = (id: string): AxiosPromise => {
export const createBulkCopyReview = (
bulk: BulkCopyReview
): AxiosPromise<BulkCopyReview> => {
return APIClient.post<BulkCopyReview>(`${REVIEWS}/bulk`, bulk);
return APIClient.post<BulkCopyReview>(`${REVIEWS}/copy`, bulk);
};

export const getBulkCopyReview = (id: number): AxiosPromise<BulkCopyReview> => {
return APIClient.get<BulkCopyReview>(`${REVIEWS}/bulk/${id}`);
return APIClient.get<BulkCopyReview>(`${REVIEWS}/copy/${id}`);
};

//
Expand Down

0 comments on commit e010a92

Please # to comment.