forked from Yara724/api
YARA-725
This commit is contained in:
@@ -120,17 +120,17 @@ export class SmsOrchestrationService implements OnModuleInit {
|
||||
async sendThirdPartyExpertStartedReviewNotice(
|
||||
params: {
|
||||
receptor: string;
|
||||
fileKind: "blame" | "claim";
|
||||
publicId: string;
|
||||
expertLastName: string;
|
||||
},
|
||||
): Promise<boolean> {
|
||||
return this.sendTemplate({
|
||||
template:
|
||||
process.env.SMS_TEMPLATE_THIRD_PARTY_EXPERT_LOCK ||
|
||||
"yara-blame-expert-lock",
|
||||
template: "yara-expert-lock",
|
||||
receptor: params.receptor,
|
||||
token: params.publicId,
|
||||
token2: params.expertLastName || "کارشناس",
|
||||
token: params.fileKind === "blame" ? "تصادف" : "خسارت",
|
||||
token2: params.publicId,
|
||||
token3: params.expertLastName || "کارشناس",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user