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