Moving ActionLinks into ORM

This commit is contained in:
stephb9959
2021-12-27 22:24:15 -08:00
parent d202b9e365
commit 2c513d8374
14 changed files with 199 additions and 315 deletions

View File

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