stephb9959
2022-09-15 16:00:21 -07:00
parent 339ce4734b
commit 1762fdc859
3 changed files with 16 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ namespace OpenWifi {
}
GWObjects::RadiusProxyPoolList C;
if(!C.from_json(ParsedBody_)) {
if(!C.from_json(ParsedBody_) || C.pools.empty()) {
return BadRequest(RESTAPI::Errors::InvalidJSONDocument);
}