mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-05 18:24:01 +00:00
refactor: scope server and project queries to current team (#9230)
This commit is contained in:
@@ -250,7 +250,7 @@ class DeployController extends Controller
|
||||
]);
|
||||
|
||||
// Get the server
|
||||
$server = Server::find($build_server_id);
|
||||
$server = Server::whereTeamId($teamId)->find($build_server_id);
|
||||
|
||||
if ($server) {
|
||||
// Add cancellation log entry
|
||||
|
||||
Reference in New Issue
Block a user