Fixing ActionLinks

This commit is contained in:
stephb9959
2021-11-09 13:41:28 -08:00
parent c0ef77eb53
commit 7636568fb4
6 changed files with 6 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ namespace OpenWifi {
NewLink.userId = userId;
NewLink.created = std::time(nullptr);
NewLink.expires = NewLink.created + (24*60*60);
Storage().CreateAction(NewLink);
StorageService()->CreateAction(NewLink);
Poco::JSON::Object ReturnObj;
SecurityObjects::UserInfoAndPolicy UInfo;