First microservice checkin

This commit is contained in:
stephb9959
2021-07-02 10:54:29 -07:00
parent 0e2478cc83
commit fb9bf44983
3 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ namespace uCentral {
if (i.first == "token") {
// can we find this token?
SecurityObjects::UserInfoAndPolicy SecObj;
if (AuthService()->IsValidToken(i.first, SecObj.WebToken, SecObj.UserInfo)) {
if (AuthService()->IsValidToken(i.first, SecObj.webtoken, SecObj.userinfo)) {
Poco::JSON::Object Obj;
SecObj.to_json(Obj);
ReturnObject(Request, Obj, Response);