From a916a5e707aef4d11d81da6eff18306dd5e23255 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Mon, 18 Sep 2017 19:50:28 +0200 Subject: [PATCH] remove sql restriction for promotion get --- api/routes/request.js | 3 ++- static/src/app/app.component.html | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/api/routes/request.js b/api/routes/request.js index 07b0ad1..3546fae 100644 --- a/api/routes/request.js +++ b/api/routes/request.js @@ -58,7 +58,8 @@ request.route('/award') request.route('/promotion') - .get(apiAuthenticationMiddleware, checkSql, (req, res, next) => { + .get((req, res, next) => { + // TODO: add SQL authetnication const squadFilter = req.query.squadId; const fractFilter = req.query.fractFilter; const progressFilter = req.query.inProgress; diff --git a/static/src/app/app.component.html b/static/src/app/app.component.html index 79aa9f3..0cf7f51 100644 --- a/static/src/app/app.component.html +++ b/static/src/app/app.component.html @@ -54,7 +54,7 @@