fix linting

This commit is contained in:
Sam 2016-06-20 17:13:22 +10:00
parent bf3b68fbd8
commit 41718be67f

View file

@ -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);