This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const fs = require('fs');
9
9
* @version 1.0
10
10
*/
11
11
module . exports = {
12
- PORT : process . env . PORT || 80 , // eslint-disable-line no-magic-numbers
12
+ PORT : process . env . PORT || 443 , // eslint-disable-line no-magic-numbers
13
13
API_VERSION : process . env . API_VERSION || 'v1' ,
14
14
LOG_LEVEL : process . env . LOG_LEVEL || 'debug' ,
15
15
SESSION_SECRET : process . env . SESSION_SECRET || 'kjsdfkj34857' ,
Original file line number Diff line number Diff line change @@ -185,14 +185,18 @@ angular.module('topcoderX')
185
185
}
186
186
return $http ( {
187
187
method : 'GET' ,
188
- url : $rootScope . appConfig . TOPCODER_VALUES [ $rootScope . appConfig . TOPCODER_ENV ] . TC_API_V5_URL + '/standardized-sills /skills/autocomplete' ,
188
+ url : $rootScope . appConfig . TOPCODER_VALUES [ $rootScope . appConfig . TOPCODER_ENV ] . TC_API_V5_URL + '/standardized-skills /skills/autocomplete' ,
189
189
params : {
190
190
term : searchQuery ,
191
191
} ,
192
192
headers : {
193
193
'Content-Type' : 'application/json' ,
194
194
Authorization : 'Bearer ' + AuthService . getTokenV3 ( ) ,
195
195
} ,
196
+ } )
197
+ . then ( ( response ) => {
198
+ response . data = response . data . map ( ( item ) => ( { id : item . id , name : item . name } ) ) ;
199
+ return response ;
196
200
} ) ;
197
201
} ;
198
202
return ProjectService ;
You can’t perform that action at this time.
0 commit comments