mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 18:22:04 +08:00
fix prettier offense (#7041)
This commit is contained in:
@ -174,7 +174,10 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
|||||||
this._keyLoading = true;
|
this._keyLoading = true;
|
||||||
ajax(this.get("keyGenUrl"), { method: "POST" })
|
ajax(this.get("keyGenUrl"), { method: "POST" })
|
||||||
.then(pair => {
|
.then(pair => {
|
||||||
this.setProperties({ privateKey: pair.private_key, publicKey: pair.public_key });
|
this.setProperties({
|
||||||
|
privateKey: pair.private_key,
|
||||||
|
publicKey: pair.public_key
|
||||||
|
});
|
||||||
})
|
})
|
||||||
.catch(popupAjaxError)
|
.catch(popupAjaxError)
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
|
Reference in New Issue
Block a user