changed invite link to env variable, not settings app_url.

This commit is contained in:
Kevand
2026-02-04 01:31:14 +00:00
parent 58925b1ac0
commit 388dcb0159

View File

@@ -76,7 +76,7 @@ onRecordAfterCreateSuccess((e) => {
const email = e.record.email();
const token = e.record.get('token');
const appUrl = e.app.settings().meta.appURL;
const appUrl = $os.getenv('ACCOUNTS_URL');
const inviteLink = `${appUrl}/accept-invite?token=${token}`
const message = new MailerMessage({