Skip to content

Commit e41605d

Browse files
committed
updates
1 parent d0cfb77 commit e41605d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

components/easyship/actions/create-shipment/create-shipment.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
type: "action",
99
props: {
1010
easyship,
11-
originontactName: {
11+
originContactName: {
1212
type: "string",
1313
label: "Origin Name",
1414
description: "The full name of a person at the origin address",
@@ -188,7 +188,7 @@ export default {
188188
$,
189189
data: {
190190
origin_address: {
191-
contact_name: this.originontactName,
191+
contact_name: this.originContactName,
192192
contact_email: this.originContactEmail,
193193
contact_phone: this.originContactPhone,
194194
company_name: this.originCompanyName,

components/easyship/easyship.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default {
102102
const items = response[resourceKey];
103103
for (const item of items) {
104104
yield item;
105-
if (max && count >= max) {
105+
if (max && ++count >= max) {
106106
return;
107107
}
108108
}

components/easyship/sources/common/base.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ export default {
5050
},
5151
},
5252
async run(event) {
53+
this.http.respond({
54+
status: 200,
55+
});
56+
5357
const { body } = event;
5458
if (!body) {
5559
return;
5660
}
5761

58-
this.http.respond({
59-
status: 200,
60-
});
61-
6262
const meta = this.generateMeta(body);
6363
this.$emit(body, meta);
6464
},

0 commit comments

Comments
 (0)