diff --git a/packages/amplify-migration-template-gen/src/category-template-generator.ts b/packages/amplify-migration-template-gen/src/category-template-generator.ts index 5df705d157..adc6a79bdd 100644 --- a/packages/amplify-migration-template-gen/src/category-template-generator.ts +++ b/packages/amplify-migration-template-gen/src/category-template-generator.ts @@ -78,11 +78,6 @@ class CategoryTemplateGenerator { const oAuthProviderCredentialsParam = Parameters.find((param) => param.ParameterKey === HOSTED_PROVIDER_CREDENTIALS_PARAMETER_NAME); assert(oAuthProviderCredentialsParam); oAuthProviderCredentialsParam.ParameterValue = JSON.stringify(oAuthValues); - return { - oldTemplate: oldGen1Template, - newTemplate: gen1TemplateWithConditionsResolved, - parameters: Parameters, - }; } return { oldTemplate: oldGen1Template,