This commit is contained in:
SepehrYahyaee
2026-05-10 14:15:38 +03:30
parent 3fb90cf1c9
commit 186f6c5837
2 changed files with 6 additions and 4 deletions

View File

@@ -50,11 +50,12 @@ export class SmsOrchestrationService implements OnModuleInit {
return `${process.env.URL}/caseClaim?token=${claimRequestId}`;
}
async sendInviteLink(phoneNumber: string, link: string): Promise<boolean> {
async sendInviteLink(phoneNumber: string, publicId: string, link: string): Promise<boolean> {
return this.sendTemplate({
template: "yara724-invite-link",
receptor: phoneNumber,
token: link,
token: publicId,
token2: link,
});
}