Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit aabea01

Browse files
author
vikasrohit
committed
SUP-1447, Peer review updates
Cherry picked changes for following commits into peer-review app 1)Update routes to work with new backend Commit: 85a1d5da43f1339c1f517ed2af20fe674bad20e2 [85a1d5d] Parents: 58e6f391a4 Author: Nick Litwin <[email protected]> Date: 24 July 2015 2:59:41 am IST
1 parent a97d3d8 commit aabea01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/services/challenge.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
}
160160

161161
function getReviewEndDate(challengeId) {
162-
var url = CONSTANTS.API_URL + '/phases/?filter=' + encodeURIComponent('challengeId=' + challengeId + ' & phaseType=4');
162+
var url = CONSTANTS.API_URL + '/phases/?challengeId=' + challengeId;
163163
return ApiService.requestHandler('GET', url);
164164
}
165165

app/services/review.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535

3636
function getNextReview(challengeId) {
37-
var url = CONSTANTS.API_URL + '/challenges/' + challengeId + '/assignNextReview';
37+
var url = CONSTANTS.API_URL + '/reviews/' + challengeId + '/assignNextReview';
3838
return ApiService.requestHandler('PUT', url);
3939
}
4040

0 commit comments

Comments
 (0)