Skip to content

Commit 1ebdfce

Browse files
authored
Revert "Serverless-only availability hack (#5431)"
This reverts commit a996fa3.
1 parent b0f8947 commit 1ebdfce

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-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
}

output/schema/schema.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)