mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 18:20:23 +00:00
Ken missed a }
This commit is contained in:
@@ -1022,7 +1022,7 @@ RestOutputStruct::ExitCode WebSocket::EvaluateSysadmServiceRequest(const QJsonVa
|
||||
}
|
||||
if(out->keys().isEmpty()){
|
||||
if(ok){ out->insert("result","success"); }
|
||||
else{ out->insert("error","error");
|
||||
else{ out->insert("error","error"); }
|
||||
}
|
||||
return (ok ? RestOutputStruct::OK : RestOutputStruct::BADREQUEST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user