update links for v3

This commit is contained in:
Matteo Pagliazzi
2016-05-22 00:00:05 +02:00
parent 308e70432f
commit 7ef529988a
2 changed files with 3 additions and 3 deletions

View File

@@ -164,6 +164,6 @@
"name": "habitica", "name": "habitica",
"title": "Habitica", "title": "Habitica",
"version": "3.0.0", "version": "3.0.0",
"url": "https://v3.habitica.com" "url": "https://habitica.com"
} }
} }

View File

@@ -95,7 +95,7 @@ export function sendTxn (mailingInfoArray, emailType, variables, personalVariabl
}, },
{ {
name: 'RECIPIENT_UNSUB_URL', name: 'RECIPIENT_UNSUB_URL',
content: `/unsubscribe?code=${encrypt(JSON.stringify({ content: `/email/unsubscribe?code=${encrypt(JSON.stringify({
_id: mailingInfo._id, _id: mailingInfo._id,
email: mailingInfo.email, email: mailingInfo.email,
}))}`, }))}`,
@@ -121,7 +121,7 @@ export function sendTxn (mailingInfoArray, emailType, variables, personalVariabl
}, },
{ {
name: 'RECIPIENT_UNSUB_URL', name: 'RECIPIENT_UNSUB_URL',
content: `/unsubscribe?code=${encrypt(JSON.stringify({ content: `/email/unsubscribe?code=${encrypt(JSON.stringify({
_id: temporaryPersonalVariables[singlePersonalVariables.rcpt]._id, _id: temporaryPersonalVariables[singlePersonalVariables.rcpt]._id,
email: singlePersonalVariables.rcpt, email: singlePersonalVariables.rcpt,
}))}`, }))}`,