Ficing the weird record problem.

This commit is contained in:
stephb9959
2021-12-14 08:32:14 -08:00
parent becd83ef1b
commit 8bb7a81768
4 changed files with 13 additions and 5 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 const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/wiredclients"}; };
inline bool RoleIsAuthorized(std::string & Reason) {
if(UserInfo_.userinfo.userRole != SecurityObjects::USER_ROLE::SUBSCRIBER) {