diff --git a/app/assets/javascripts/discourse/controllers/invite.js.es6 b/app/assets/javascripts/discourse/controllers/invite.js.es6 index 6747f1449..eac694a07 100644 --- a/app/assets/javascripts/discourse/controllers/invite.js.es6 +++ b/app/assets/javascripts/discourse/controllers/invite.js.es6 @@ -183,7 +183,7 @@ export default Ember.Controller.extend(ModalFunctionality, { }; if (this.get('hasGroups')) { - return this.get('model').createGroupInvite(this.get('emailOrUsername').trim()).then(result => { + return this.get('model').createGroupInvite(this.get('emailOrUsername').trim()).then(() => { model.setProperties({ saving: false, finished: true }); }).catch(onerror);