mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
feat: start all kinds of things
This commit is contained in:
1 parent
a664174c02
commit
4855af7e57
2 files changed
+19
-6
No files matched your search
@@ -463,7 +463,7 @@ function getResourceByUuid(string $uuid, ?int $teamId = null)
|
||||
{
|
||||
$resource = queryResourcesByUuid($uuid);
|
||||
if (!is_null($teamId)) {
|
||||
if ($resource->environment->project->team_id === $teamId) {
|
||||
if (!is_null($resource) && $resource->environment->project->team_id === $teamId) {
|
||||
return $resource;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user