Skip to content

Commit

Permalink
fix: bind init translation function
Browse files Browse the repository at this point in the history
  • Loading branch information
ainouzgali committed Dec 10, 2023
1 parent 2ef4de4 commit 78449b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ export class SendMessageEmail extends SendMessageBase {
organizationId: command.organizationId,
userId: command.userId,
...payload,
})
}),
this.initiateTranslations.bind(this)
));

if (this.storeContent()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export class SendMessageInApp extends SendMessageBase {
content: step.template.content as string,
cta: step.template.cta,
userId: command.userId,
})
}),
this.initiateTranslations.bind(this)
);
content = compiled.content;

Expand Down

0 comments on commit 78449b5

Please sign in to comment.