diff --git a/compiler/src/model/build-model.ts b/compiler/src/model/build-model.ts index fe24ed7816..1f4ff21981 100644 --- a/compiler/src/model/build-model.ts +++ b/compiler/src/model/build-model.ts @@ -102,13 +102,6 @@ export function compileEndpoints (): Record { } }) } - - // temporary workaround for APIs that are serverless-only - // until we can stop depending on rest-api-spec for availability - if (api === 'project.tags') { - delete map[api].availability.stack - } - if (typeof spec.feature_flag === 'string') { map[api].availability.stack = { featureFlag: spec.feature_flag } }