translation: fixed fr translation
MODIFY
src/server/rest/v1/service/BillingService.ts
src/server/rest/v1/service/BillingService.ts
@@ -514,7 +514,8 @@ export default class BillingService {
// Save the sub account
subAccount.id = await BillingStorage.saveSubAccount(req.tenant, subAccount);
// Notify the user
- void NotificationHandler.sendBillingSubAccountCreationLink(req.tenant, Utils.generateUUID(), user, { onboardingLink: subAccount.activationLink, evseDashboardURL: Utils.buildEvseURL(req.tenant.subdomain), user });
+ void NotificationHandler.sendBillingSubAccountCreationLink(
+ req.tenant, Utils.generateUUID(), user, { onboardingLink: subAccount.activationLink, evseDashboardURL: Utils.buildEvseURL(req.tenant.subdomain), user });
res.status(StatusCodes.CREATED).json(subAccount);
next();
}

MODIFY
src/utils/Utils.ts
src/utils/Utils.ts
@@ -977,7 +977,7 @@ export default class Utils {
}
public static buildEvseBillingSubAccountActivationURL(tenantSubdomain: string, subAccountID: string): string {
- return `${Utils.buildEvseURL(tenantSubdomain)}/billing/sub-account/${subAccountID}`;
+ return `${Utils.buildEvseURL(tenantSubdomain)}/billing/sub-accounts/${subAccountID}`;
}
public static buildEvseUserToVerifyURL(tenantSubdomain: string, userId: string): string {

translation: fixed fr translation