Skip to content

Commit 13338df

Browse files
committed
fix: correct syntax in generateMessageID method
1 parent e5fab3e commit 13338df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ export class BaileysStartupService extends ChannelStartupService {
19811981
}
19821982
public generateMessageID() {
19831983
return {
1984-
id: generateMessageIDV2(this.client.user?.id)
1984+
id: generateMessageIDV2(this.client.user?.id),
19851985
};
19861986
}
19871987

@@ -2248,7 +2248,7 @@ export class BaileysStartupService extends ChannelStartupService {
22482248
mentions,
22492249
linkPreview,
22502250
quoted,
2251-
optionsoptions?.messageId ?? null,
2251+
options?.messageId ?? null,
22522252
group?.ephemeralDuration,
22532253
// group?.participants,
22542254
);

0 commit comments

Comments
 (0)