Skip to content

Commit 9b80df6

Browse files
committed
Adjusting request format for sources
1 parent 1413557 commit 9b80df6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/freshdesk/freshdesk.app.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ export default {
108108
async *filterTickets(params) {
109109
let loadedData = 0;
110110
do {
111-
const response = await this.searchTickets(params);
111+
const response = await this.searchTickets({
112+
params,
113+
});
112114

113115
if (!response?.results?.length) {
114116
return;
@@ -126,7 +128,9 @@ export default {
126128
async *filterContacts(params) {
127129
let loadedData = 0;
128130
do {
129-
const response = await this.searchContacts(params);
131+
const response = await this.searchContacts({
132+
params,
133+
});
130134

131135
if (!response?.results?.length) {
132136
return;

0 commit comments

Comments
 (0)