1
0
forked from Yara724/api

Added USER_BASE_PATH env

This commit is contained in:
SepehrYahyaee
2026-06-13 15:29:33 +03:30
parent 5414d9717e
commit c8274d8435
2 changed files with 7 additions and 4 deletions

View File

@@ -46,11 +46,11 @@ export class SmsOrchestrationService implements OnModuleInit {
partyRole: "FIRST" | "SECOND",
): string {
const route = partyRole === "SECOND" ? "user2" : "user";
return `${process.env.URL}/${route}?token=${requestId}`;
return `${process.env.URL}/${process.env.USER_BASE_PATH}/${route}?token=${requestId}`;
}
buildClaimLink(claimRequestId: string): string {
return `${process.env.URL}/caseClaim?token=${claimRequestId}`;
return `${process.env.URL}/${process.env.USER_BASE_PATH}/caseClaim?token=${claimRequestId}`;
}
async sendInviteLink(