Framework update

This commit is contained in:
stephb9959
2022-04-23 17:11:02 -07:00
parent 271523966a
commit 8ad7dee254
12 changed files with 23 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenWifi {
TransactionId,
Internal,true, false, RateLimit{.Interval=1000,.MaxCalls=10}, true){}
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/wiredclients"}; };
static auto PathName() { return std::list<std::string>{"/api/v1/wiredclients"}; };
inline bool RoleIsAuthorized(std::string & Reason) {
if(UserInfo_.userinfo.userRole != SecurityObjects::USER_ROLE::SUBSCRIBER) {