From 19c2ce0e84da1302ab6a7e631eecbd4d533bf366 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 1 Feb 2016 20:43:51 +0200 Subject: [PATCH] fix uid ref --- src/user/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/create.js b/src/user/create.js index 620dfeb178..1d1543e863 100644 --- a/src/user/create.js +++ b/src/user/create.js @@ -99,7 +99,7 @@ module.exports = function(User) { groups.join('registered-users', userData.uid, next); }, function(next) { - User.notifications.sendWelcomeNotification(uid, next); + User.notifications.sendWelcomeNotification(userData.uid, next); }, function(next) { if (userData.email) {