mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
fix(script): correct import path and template slug
This commit is contained in:
parent
b48f850eac
commit
5e781017ab
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const AUTHOR_UUID = '7f14ed62-5408-4e1b-be83-ada62d504931'; // ... own data is d
|
|||
|
||||
import monk from 'monk';
|
||||
import nconf from 'nconf';
|
||||
import { sendTxn } from '../../website/server/libs/email';
|
||||
import { sendTxn } from '../../../website/server/libs/email';
|
||||
const CONNECTION_STRING = nconf.get('MIGRATION_CONNECT_STRING');
|
||||
const BASE_URL = nconf.get('BASE_URL');
|
||||
let dbUsers = monk(CONNECTION_STRING).get('users', { castIds: false });
|
||||
|
|
@ -72,7 +72,7 @@ function updateUser (user) {
|
|||
|
||||
sendTxn(
|
||||
user,
|
||||
'username-change-followup',
|
||||
'username-change-follow-up',
|
||||
[{name: 'UNSUB_EMAIL_TYPE_URL', content: '/user/settings/notifications?unsubFrom=majorUpdates'},
|
||||
{name: 'LOGIN_NAME', content: user.auth.local.username},
|
||||
{name: 'BASE_URL', content: BASE_URL}]
|
||||
|
|
|
|||
Loading…
Reference in a new issue