Fix magic_link view data

This commit is contained in:
Alice Gaudon 2020-05-10 00:26:15 +02:00
parent 309344d1c0
commit 384bd2fc17
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "wms-core", "name": "wms-core",
"version": "0.4.30", "version": "0.4.31",
"description": "Node web framework", "description": "Node web framework",
"repository": "git@gitlab.com:ArisuOngaku/wms-core.git", "repository": "git@gitlab.com:ArisuOngaku/wms-core.git",
"author": "Alice Gaudon <alice@gaudon.pro>", "author": "Alice Gaudon <alice@gaudon.pro>",

View File

@ -101,8 +101,7 @@ export default abstract class MagicLinkController extends Controller {
} }
res.render('magic_link', { res.render('magic_link', {
actionType: await magicLink?.getActionType(), magicLink: magicLink,
actionMessage: await magicLink?.getActionMessage(),
err: err, err: err,
success: success && err === null, success: success && err === null,
}); });