Explorar o código

fix: register didn't work

Kristian Vos %!s(int64=5) %!d(string=hai) anos
pai
achega
6819c93449
Modificáronse 1 ficheiros con 1 adicións e 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);
 				});