Skip to content

Commit e04c3ec

Browse files
committed
ESLint and pnpm-lock
1 parent 141c90f commit e04c3ec

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

components/chargebee/actions/create-customer/create-customer.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ export default {
6060
phone: this.phone,
6161
company: this.company,
6262
...this.additionalFields,
63-
}).filter(([_, v]) => v !== undefined)));
63+
}).filter(([
64+
_,
65+
v,
66+
]) => v !== undefined)));
6467

6568
$.export("$summary", `Successfully created customer (ID: ${response?.customer?.id})`);
6669
return response;

components/chargebee/actions/create-subscription/create-subscription.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
propDefinition: [
1414
chargebee,
1515
"customerId",
16-
]
16+
],
1717
},
1818
id: {
1919
type: "string",

components/chargebee/chargebee.app.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ export default {
1111
async options() {
1212
const customers = await this.getCustomers();
1313
return customers.list.map((customer) => ({
14-
label: `${customer.first_name ?? ''} ${customer.last_name ?? ''} (${customer.email ?? customer.id})`,
14+
label: `${customer.first_name ?? ""} ${customer.last_name ?? ""} (${customer.email ?? customer.id})`,
1515
value: customer.id,
1616
}));
17-
}
18-
}
17+
},
18+
},
1919
},
2020
methods: {
2121
instance() {
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
export function clearObject(obj) {
2-
return Object.fromEntries(Object.entries(obj).filter(([_, v]) => v !== undefined));
2+
return Object.fromEntries(Object.entries(obj).filter(([
3+
_,
4+
v,
5+
]) => v !== undefined));
36
}

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)