mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 05:19:22 +00:00
Fix check issue
This commit is contained in:
parent
31c9e758ae
commit
899ec40bd7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user