Fix magic link lobby email display
This commit is contained in:
parent
172b977fcf
commit
7da68f2715
@ -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>",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user