forked from Yara724/api
YARA-884
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user