Skip to content

Commit 879f023

Browse files
authored
Enable FDC API in firebase init dataconnect for Spark projects (#8927)
1 parent fa75163 commit 879f023

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fixed an issue where `firebase init dataconnect` didn't enable the Data Connect API by default (#8927).

src/dataconnect/ensureApis.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export async function ensureApis(projectId: string): Promise<void> {
1212
export async function ensureSparkApis(projectId: string): Promise<void> {
1313
// These are the APIs that can be enabled without a billing account.
1414
await ensure(projectId, api.cloudSQLAdminOrigin(), prefix);
15+
await ensure(projectId, api.dataconnectOrigin(), prefix);
1516
}
1617

1718
export async function ensureGIFApis(projectId: string): Promise<void> {

0 commit comments

Comments
 (0)