coolify/app/Http
Poul 789e2c5cab fix(api/destinations): use getTeamIdFromToken() like other Api controllers
Initial draft called auth()->user()->currentTeam() which returns null in
the API context (Sanctum tokens don't carry the per-user currentTeam
state — that's a session/Livewire concept). Other Api controllers
(ServersController, ScheduledTasksController, etc.) use the canonical
helper getTeamIdFromToken() with a null guard returning 403.

This swap makes all five endpoints work against a real token.
2026-05-25 11:36:26 +00:00
..
Controllers fix(api/destinations): use getTeamIdFromToken() like other Api controllers 2026-05-25 11:36:26 +00:00
Middleware feat(mcp): add MCP server with read-only tools for Coolify resources 2026-04-29 10:30:43 +02:00
Kernel.php feat(mcp): add MCP server with read-only tools for Coolify resources 2026-04-29 10:30:43 +02:00