feat: lots of api endpoints

This commit is contained in:
Andras Bacsai committed 2024-07-01 16:26:50 +02:00
1 parent dbc235d84a
commit da6f2da3d0
30 files changed
+1583 -417

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ class DatabaseStatusChanged implements ShouldBroadcast
$userId = auth()->user()->id ?? null;
}
if (is_null($userId)) {
throw new \Exception('User id is null');
throw new \RuntimeException('User id is null');
}
$this->userId = $userId;
}