mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 14:15:58 +00:00
feat: add deployments api
This commit is contained in:
1 parent
515d401746
commit
c7f15c42fa
8 files changed
+38
-14
No files matched your search
@@ -12,7 +12,7 @@ class Resources extends Controller
|
||||
{
|
||||
$teamId = get_team_id_from_token();
|
||||
if (is_null($teamId)) {
|
||||
return response()->json(['error' => 'Invalid token.', 'docs' => 'https://coolify.io/docs/api/authentication'], 400);
|
||||
return invalid_token();
|
||||
}
|
||||
$projects = Project::where('team_id', $teamId)->get();
|
||||
$resources = collect();
|
||||
|
||||
Reference in new issue
Block a user