From c8e1ae32eb5b374c9d36215cbbb62ea21ee94603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mitja=20Je=C5=BE?= Date: Fri, 11 Mar 2016 18:37:56 +0100 Subject: [PATCH] removed Meteor Error copy-pasted problem removeAvatar -> saveUserProfile --- server/methods/saveUserProfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/methods/saveUserProfile.coffee b/server/methods/saveUserProfile.coffee index cf4697f1c05..4645a5aa1b0 100644 --- a/server/methods/saveUserProfile.coffee +++ b/server/methods/saveUserProfile.coffee @@ -1,7 +1,7 @@ Meteor.methods saveUserProfile: (settings) -> unless RocketChat.settings.get("Accounts_AllowUserProfileChange") - throw new Meteor.Error(403, "[methods] resetAvatar -> Invalid access") + throw new Meteor.Error(403, "[methods] saveUserProfile -> Invalid access") if Meteor.userId() if settings.language?