Skip to content

Commit 7868bd1

Browse files
authored
Revert "Serverless-only availability hack" (#5488)
* Revert "Serverless-only availability hack (#5431)" This reverts commit a996fa3. * Run make contrib
1 parent e49b8a9 commit 7868bd1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compiler/src/model/build-model.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,6 @@ export function compileEndpoints (): Record<string, model.Endpoint> {
102102
}
103103
})
104104
}
105-
106-
// temporary workaround for APIs that are serverless-only
107-
// until we can stop depending on rest-api-spec for availability
108-
if (api === 'project.tags') {
109-
delete map[api].availability.stack
110-
}
111-
112105
if (typeof spec.feature_flag === 'string') {
113106
map[api].availability.stack = { featureFlag: spec.feature_flag }
114107
}

0 commit comments

Comments
 (0)