fix: align googlechat reaction handling and docs typo
This commit is contained in:
parent
9a33c15743
commit
3c00f9b73b
@ -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",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -189,6 +189,7 @@ export function readGogRefreshTokenSync(params: {
|
||||
"auth",
|
||||
"tokens",
|
||||
"export",
|
||||
"--",
|
||||
account,
|
||||
"--out",
|
||||
outPath,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user