diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index a74b460e91..77d352fee9 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -889,7 +889,7 @@ App::get('/v1/migrations/nhost/report') ->label('sdk.response.type', Response::CONTENT_TYPE_JSON) ->label('sdk.response.model', Response::MODEL_MIGRATION_REPORT) ->param('resources', [], new ArrayList(new WhiteList(NHost::getSupportedResources())), 'List of resources to migrate') - ->param('subdomain', '', new URL(), 'Source\'s Subdomain') + ->param('subdomain', '', new Text(512), 'Source\'s Subdomain') ->param('region', '', new Text(512), 'Source\'s Region') ->param('adminSecret', '', new Text(512), 'Source\'s Admin Secret') ->param('database', '', new Text(512), 'Source\'s Database Name')