Error Framework migration.

This commit is contained in:
stephb9959
2022-05-06 23:10:40 -07:00
parent 41079d9f0b
commit d5c36aa2e9
8 changed files with 200 additions and 172 deletions

View File

@@ -45,6 +45,6 @@ namespace OpenWifi {
if (StorageService()->DeleteCommand(CommandUUID)) {
return OK();
}
return InternalError();
return InternalError(RESTAPI::Errors::NoRecordsDeleted);
}
}