Explorar el Código

fix: register didn't work

Kristian Vos hace 5 años
padre
commit
6819c93449
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
 				});