From 5ea434c429bc8914621d142458cc9832ff9310ac Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Wed, 27 Dec 2017 12:16:17 -0800 Subject: [PATCH] fix(User): Email is off the constructor --- common/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/models/user.js b/common/models/user.js index 73014ea7a2..2a15b6c10e 100644 --- a/common/models/user.js +++ b/common/models/user.js @@ -530,7 +530,7 @@ module.exports = function(User) { }; return Observable.combineLatest( - this.email.send$(mailOptions), + User.email.send$(mailOptions), this.update$({ emailAuthLinkTTL }) ); })