stephb9959
2023-02-20 21:24:20 -08:00
parent 703cae55e8
commit ddb037c70c
2 changed files with 12 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
#include "StorageService.h"
#include "framework/ow_constants.h"
#include "CommandManager.h"
namespace OpenWifi {
void RESTAPI_command::DoGet() {
@@ -40,6 +41,7 @@ namespace OpenWifi {
return NotFound();
}
CommandManager()->RemoveCommand(CommandUUID);
if (StorageService()->DeleteCommand(CommandUUID)) {
return OK();
}