Fix magic link lobby email display

This commit is contained in:
Alice Gaudon 2020-07-12 10:32:21 +02:00
parent 172b977fcf
commit 7da68f2715
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -71,7 +71,7 @@ export default abstract class MagicLinkController extends Controller {
}
res.render('magic_link_lobby', {
email: link.getEmail(),
email: await link.getEmail(),
type: await link.getActionType(),
validUntil: link.getExpirationDate().getTime(),
websocketUrl: config.get<string>('public_websocket_url') + this.magicLinkWebsocketPath,