revert remove sql restriction for get promotion

pull/10/head
Florian Hartwich 2017-09-18 19:53:29 +02:00
parent a916a5e707
commit 85db13a394
1 changed files with 1 additions and 2 deletions

View File

@ -58,8 +58,7 @@ request.route('/award')
request.route('/promotion')
.get((req, res, next) => {
// TODO: add SQL authetnication
.get(apiAuthenticationMiddleware, checkSql, (req, res, next) => {
const squadFilter = req.query.squadId;
const fractFilter = req.query.fractFilter;
const progressFilter = req.query.inProgress;