Skip to content

Commit 64f28e1

Browse files
committed
updates
1 parent 21cc714 commit 64f28e1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

components/freshdesk/actions/create-ticket-field/create-ticket-field.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
default: "custom_dropdown",
4646
optional: true,
4747
},
48-
requiredForClusure: {
48+
requiredForClosure: {
4949
type: "boolean",
5050
label: "Required for Closure",
5151
description: "Set to `true` if the field is mandatory for closing the ticket",
@@ -96,7 +96,7 @@ export default {
9696
displayed_to_customers: this.displayedToCustomers,
9797
position: this.position,
9898
type: this.type,
99-
required_for_closure: this.requiredForClusure,
99+
required_for_closure: this.requiredForClosure,
100100
required_for_agents: this.requiredForAgents,
101101
required_for_customers: this.requiredForCustomers,
102102
choices: parseObject(this.choices),

components/freshdesk/actions/update-ticket-field/update-ticket-field.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
description: "The position of the fieldPosition in which the ticket field is displayed in the form. If not given, it will be displayed on top",
4646
optional: true,
4747
},
48-
requiredForClusure: {
48+
requiredForClosure: {
4949
type: "boolean",
5050
label: "Required for Closure",
5151
description: "Set to `true` if the field is mandatory for closing the ticket",
@@ -92,7 +92,7 @@ export default {
9292
customers_can_edit: this.customersCanEdit,
9393
displayed_to_customers: this.displayedToCustomers,
9494
position: this.position,
95-
required_for_closure: this.requiredForClusure,
95+
required_for_closure: this.requiredForClosure,
9696
required_for_agents: this.requiredForAgents,
9797
required_for_customers: this.requiredForCustomers,
9898
choices: parseObject(this.choices),

components/freshdesk/freshdesk.app.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,9 @@ export default {
655655
}
656656
for (const result of results) {
657657
yield result;
658-
}
659-
if (max && ++count >= max) {
660-
return;
658+
if (max && ++count >= max) {
659+
return;
660+
}
661661
}
662662
args.params.page += 1;
663663
} while (total === args.params.per_page);

0 commit comments

Comments
 (0)