fix prettier offense (#7041)

This commit is contained in:
Joffrey JAFFEUX 2019-02-20 22:22:38 +01:00 committed by GitHub
parent bbd00a3488
commit 353eeef72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -174,7 +174,10 @@ export default Ember.Controller.extend(ModalFunctionality, {
this._keyLoading = true;
ajax(this.get("keyGenUrl"), { method: "POST" })
.then(pair => {
this.setProperties({ privateKey: pair.private_key, publicKey: pair.public_key });
this.setProperties({
privateKey: pair.private_key,
publicKey: pair.public_key
});
})
.catch(popupAjaxError)
.finally(() => {