stephb9959
2022-11-07 13:56:27 -08:00
parent 89256bb900
commit becd374124
2 changed files with 31 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenWifi {
}
SecurityObjects::ApiKeyEntryList List;
if(DB_.GetRecords(0,500, List.apiKeys, fmt::format(" userUuid='{}' ", user_uuid), " name ")) {
if(DB_.GetRecords(0,500, List.apiKeys, fmt::format(" userUuid='{}' ", user_uuid))) {
Poco::JSON::Object Answer;
List.to_json(Answer);
return ReturnObject(Answer);