chore: add gmail hook setup notes

This commit is contained in:
Peter Steinberger committed 2025-12-24 21:20:20 +00:00
1 parent 9ceb8731d3
commit 009fbeb543
2 files changed
+2

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ export async function runGmailSetup(opts: GmailSetupOptions) {
opts.project ??
parsedTopic?.projectId ??
(await resolveProjectIdFromGogCredentials());
// Gmail watch requires the Pub/Sub topic to live in the OAuth client project.
if (!projectId) {
throw new Error(
"GCP project id required (use --project or ensure gog credentials are available)",