mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
fix linting
This commit is contained in:
parent
bf3b68fbd8
commit
41718be67f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue