1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 05:19:22 +00:00

Fix check issue

This commit is contained in:
Pierre HUBERT 2020-01-03 09:14:16 +01:00
parent 31c9e758ae
commit 899ec40bd7

View File

@ -104,7 +104,7 @@ export class RequestHandler {
const param = this.getPostParam(name);
if(param == undefined) {
if(!fallback)
if(fallback == undefined)
this.error(400, "Missing integer '"+name+"' in the request!");
return fallback;
}