This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,4 @@ module.exports = {
13
13
V5 : "https://api.topcoder-dev.com/v5" , //"http://localhost:3030/api/v5"
14
14
V3 : "https://api.topcoder-dev.com/v3" ,
15
15
} ,
16
-
17
- /**
18
- * The interview api url is the mock server url.
19
- * This has to be replaced with the real url once the API is implemented.
20
- */
21
- INTERVIEW_API_URL : "http://localhost:5555/" ,
22
16
} ;
Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ import config from "../../config";
3
3
4
4
export const getUserSettings = ( userId ) => {
5
5
return axios . get (
6
- `${ config . INTERVIEW_API_URL } taas/user-meeting-settings/${ userId } `
6
+ `${ config . API . V5 } / taas/user-meeting-settings/${ userId } `
7
7
) ;
8
8
} ;
9
9
10
10
export const deleteCalendar = ( userId , calendarId ) => {
11
11
return axios . delete (
12
- `${ config . INTERVIEW_API_URL } taas/user-meeting-settings/${ userId } /calendars/${ calendarId } `
12
+ `${ config . API . V5 } / taas/user-meeting-settings/${ userId } /calendars/${ calendarId } `
13
13
) ;
14
14
} ;
15
15
16
16
export const confirmInterview = ( candidateJobId , data ) => {
17
17
return axios . patch (
18
- `${ config . INTERVIEW_API_URL } jobCandidates/${ candidateJobId } /requestInterview` ,
18
+ `${ config . API . V5 } / jobCandidates/${ candidateJobId } /requestInterview` ,
19
19
data
20
20
) ;
21
21
} ;
You can’t perform that action at this time.
0 commit comments