|
|
@@ -108,7 +108,7 @@ app.post('/:aoi?/scores', async (req, res, next) => {
|
|
|
Only testing purposes
|
|
|
*/
|
|
|
app.get('/:aoi?/runR/', (req, res, next) => {
|
|
|
- let aoi = req.params.aoi
|
|
|
+ let aoi = req.params.aoi || 'eu'
|
|
|
let filename
|
|
|
switch(aoi) {
|
|
|
case 'cz':
|
|
|
@@ -132,7 +132,7 @@ app.get('/:aoi?/runR/', (req, res, next) => {
|
|
|
}
|
|
|
else {
|
|
|
console.log(data);
|
|
|
- data = { result: 'R call succesful' };
|
|
|
+ data = { result: 'R call successful' };
|
|
|
}
|
|
|
helpers.formatResponse({ response: data }, req, res);
|
|
|
}
|