0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 02:30:28 +01:00
Dieser Commit ist enthalten in:
merefield 2023-09-22 14:08:29 +01:00
Ursprung 76288932c8
Commit baf533a8f4

Datei anzeigen

@ -17,7 +17,6 @@ export default class WizardSubscriptionStatus extends Component {
constructor() {
super(...arguments);
ajax("/admin/plugins/subscription-client/suppliers").then((result) => {
console.log(result)
this.supplierId = result.suppliers[0].id;
this.authorized = result.suppliers[0].authorized;
})
@ -39,7 +38,6 @@ export default class WizardSubscriptionStatus extends Component {
},
})
.then((result) => {
console.log(result);
this.supplierId = result.supplier.id;
this.authorized = !(result.supplier.authorized_at === null);
})