Skip to content

Commit

Permalink
Fix: set maxresults from kupipai
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Apr 9, 2023
1 parent aaabeba commit bb6ca53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/workers/Base/checkRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default async function (job, {
requestParams,
request,
isMatching,
maxResults = 7,
jobType
}) {
const pn = new ProgressNotifier();
Expand All @@ -27,7 +28,7 @@ export default async function (job, {
user,
params,
results : matching,
MAX_RESULTS : 7
MAX_RESULTS : maxResults
});

userResult.alarm = alarmJob.id;
Expand Down
3 changes: 2 additions & 1 deletion src/workers/kupipaiRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default async function (job) {
return matching;
});
},
jobType : 'SEND_KUPIPAI_ALARM'
maxResults : 12,
jobType : 'SEND_KUPIPAI_ALARM'
});
}

0 comments on commit bb6ca53

Please sign in to comment.