fix: api updates

This commit is contained in:
Andras Bacsai
2024-07-03 13:13:38 +02:00
parent 4459c9f73d
commit b24a489c77
14 changed files with 216 additions and 328 deletions

View File

@@ -20,6 +20,6 @@ class OnlyRootApiToken
return $next($request);
}
return response()->json(['success' => false, 'message' => 'You are not allowed to perform this action.'], 403);
return response()->json(['message' => 'You are not allowed to perform this action.'], 403);
}
}