fix(Zulip Node): Fix a typo preventing some messages from updating (#7078)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
KubeAl 2024-06-21 00:39:02 +05:30 committed by GitHub
parent d13c1bbba5
commit 553b135b0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3,5 +3,5 @@ export interface IMessage {
to?: string; to?: string;
topic?: string; topic?: string;
content?: string; content?: string;
propagat_mode?: string; propagate_mode?: string;
} }

View file

@ -167,7 +167,7 @@ export class Zulip implements INodeType {
body.content = updateFields.content as string; body.content = updateFields.content as string;
} }
if (updateFields.propagateMode) { if (updateFields.propagateMode) {
body.propagat_mode = snakeCase(updateFields.propagateMode as string); body.propagate_mode = snakeCase(updateFields.propagateMode as string);
} }
if (updateFields.topic) { if (updateFields.topic) {
body.topic = updateFields.topic as string; body.topic = updateFields.topic as string;