fix permissions
Deploy / deploy (push) Failing after 3s

This commit is contained in:
2026-05-06 12:23:32 +02:00
parent 6968aefcc6
commit ddcd7b0a5e
3 changed files with 9 additions and 4 deletions
+3 -3
View File
@@ -145,7 +145,7 @@ class Router
return ['status' => 'logged_out'];
}
private function createSource(): array
private function createSource(): mixed
{
$body = json_decode(file_get_contents('php://input'), true);
$type = LogSourceType::from($body['type'] ?? '');
@@ -157,7 +157,7 @@ class Router
);
}
private function createRule(): array
private function createRule(): mixed
{
$body = json_decode(file_get_contents('php://input'), true);
return $this->repo->createRule(
@@ -178,7 +178,7 @@ class Router
return ['status' => 'deleted', 'id' => $id];
}
private function getAlerts(): array
private function getAlerts(): mixed
{
$limit = (int) ($_GET['limit'] ?? 100);
$offset = (int) ($_GET['offset'] ?? 0);