feat: api api api api api api

This commit is contained in:
Andras Bacsai
2024-07-02 16:12:04 +02:00
parent 3c13f1ff61
commit 4459c9f73d
13 changed files with 636 additions and 85 deletions

View File

@@ -150,7 +150,7 @@ class SecurityController extends Controller
if (is_null($key)) {
return response()->json(['success' => false, 'message' => 'Key not found.'], 404);
}
$key->delete();
$key->forceDelete();
return response()->json([
'success' => true,