remove sql restriction for promotion get

pull/10/head
Florian Hartwich 2017-09-18 19:57:22 +02:00
parent 85db13a394
commit a59d493a7e
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -66,7 +66,7 @@
routerLink="{{config.request}}/{{config.confirmPromotionPath}}">Beförderung</a>
</li>
<li>
<a [ngClass]="{'unprocessed-child': && awardingService.hasUnprocessedAwards}"
<a [ngClass]="{'unprocessed-child': awardingService.hasUnprocessedAwards}"
routerLink="{{config.request}}/{{config.confirmAwardPath}}">Orden/ Auszeichnung</a>
</li>
</ul>