diff --git a/src/init/features/dataconnect/index.ts b/src/init/features/dataconnect/index.ts index 09c9c795538..9e70bc96a0d 100644 --- a/src/init/features/dataconnect/index.ts +++ b/src/init/features/dataconnect/index.ts @@ -1,4 +1,4 @@ -import { join } from "path"; +import { join, basename } from "path"; import * as clc from "colorette"; import { confirm, promptOnce } from "../../../prompt"; @@ -295,7 +295,7 @@ async function promptForService( info.serviceId = await promptOnce({ message: "What ID would you like to use for this service?", type: "input", - default: "app", + default: basename(process.cwd()), }); } return info;