diff --git a/app/controllers/general.php b/app/controllers/general.php index 6764cbae40..c8beefec2d 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -130,7 +130,7 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw }; } - if ($type === 'function' || $type === 'site') { + if ($type === 'function' || $type === 'site' || $type === 'deployment') { $method = $utopia->getRoute()?->getLabel('sdk', null); if (empty($method)) {