Browse Source

fix: register didn't work

Kristian Vos 4 years ago
parent
commit
6819c93449
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/logic/actions/users.js

+ 1 - 1
backend/logic/actions/users.js

@@ -277,7 +277,7 @@ module.exports = {
 
 			// generate the url for gravatar avatar
 			(user, next) => {
-				this.utils.createGravatar(user.email.address).then(url => {
+				utils.createGravatar(user.email.address).then(url => {
 					user.avatar = url;
 					next(null, user);
 				});