From a59d493a7e35ba4c60fad0a515ffd845dc8b2c47 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Mon, 18 Sep 2017 19:57:22 +0200 Subject: [PATCH] remove sql restriction for promotion get --- api/routes/request.js | 3 ++- static/src/app/app.component.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/routes/request.js b/api/routes/request.js index 07b0ad1..e0f6b5f 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 authentication 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 0cf7f51..e4e67bf 100644 --- a/static/src/app/app.component.html +++ b/static/src/app/app.component.html @@ -66,7 +66,7 @@ routerLink="{{config.request}}/{{config.confirmPromotionPath}}">Beförderung
  • - Orden/ Auszeichnung