changed invite link to env variable, not settings app_url.
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user