Skip to content

Commit 4bf9b8b

Browse files
committed
Added actions
1 parent dc1b1d5 commit 4bf9b8b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/z_api/actions/get-contacts/get-contacts.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ export default {
88
type: "action",
99
props: {
1010
app,
11-
page: {
11+
pageNum: {
1212
propDefinition: [
1313
app,
14-
"page",
14+
"pageNum",
1515
],
1616
},
1717
pageSize: {
@@ -25,7 +25,7 @@ export default {
2525
const response = await this.app.getContacts({
2626
$,
2727
params: {
28-
page: this.page,
28+
page: this.pageNum,
2929
pageSize: this.pageSize,
3030
},
3131
});

components/z_api/actions/send-text/send-text.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
message: this.message,
3030
},
3131
});
32-
$.export("$summary", "Successfully sent text to " + this.phone);
32+
$.export("$summary", "Successfully sent text to" + this.phone);
3333
return response;
3434
},
3535
};

0 commit comments

Comments
 (0)