File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import axios from '../utils/axios';
77import { ChangeRequest , WbsNumber , ChangeRequestType } from 'shared' ;
88import { apiUrls } from '../utils/urls' ;
99import { changeRequestTransformer } from './transformers/change-requests.transformers' ;
10- import { CRReviewPayload , CreateStandardChangeRequestPayload } from '../hooks/change-requests.hooks' ;
10+ import { CreateStandardChangeRequestPayload } from '../hooks/change-requests.hooks' ;
1111
1212/**
1313 * Fetches all change requests.
@@ -147,6 +147,6 @@ export const addProposedSolution = (
147147 * @param crId The ID of the associated change request.
148148 * @param crReviewData The data to request reviewers
149149 */
150- export const requestCRReview = ( crId : string , crReviewData : CRReviewPayload ) => {
150+ export const requestCRReview = ( crId : string , crReviewData : { userIds : number [ ] } ) => {
151151 return axios . post < { message : string } > ( apiUrls . changeRequestRequestReviewer ( crId ) , crReviewData ) ;
152152} ;
You can’t perform that action at this time.
0 commit comments