diff --git a/docs/channels/googlechat.md b/docs/channels/googlechat.md index b97f5e975..f7ccaccd6 100644 --- a/docs/channels/googlechat.md +++ b/docs/channels/googlechat.md @@ -85,7 +85,7 @@ If you already use `gog` for Google Workspace, you can reuse its OAuth client + channels: { "googlechat": { actions: { reactions: true }, - typingIndicator: "message", + typingIndicator: "reaction", } } } diff --git a/extensions/googlechat/src/file-utils.ts b/extensions/googlechat/src/file-utils.ts index 8219b4771..1c0c898b5 100644 --- a/extensions/googlechat/src/file-utils.ts +++ b/extensions/googlechat/src/file-utils.ts @@ -12,7 +12,7 @@ export function readJsonFile(filePath: string): unknown | null { } catch (err) { // Log meaningful errors (permission issues, malformed JSON) for debugging if (err instanceof Error && err.message && !err.message.includes("ENOENT")) { - console.error(`Failed to read or parse JSON file ${filePath}: ${err.message}`); + console.error(`Failed to read or parse JSON file ${filePath}`); } return null; } diff --git a/extensions/googlechat/src/gog.ts b/extensions/googlechat/src/gog.ts index b7add3b75..994a55b56 100644 --- a/extensions/googlechat/src/gog.ts +++ b/extensions/googlechat/src/gog.ts @@ -189,6 +189,7 @@ export function readGogRefreshTokenSync(params: { "auth", "tokens", "export", + "--", account, "--out", outPath,