Skip to content

Commit

Permalink
fix: SCS read operation for filters if its not an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed May 12, 2024
1 parent dab3aaf commit 47861fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/schedulingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,9 @@ export class SchedulingService implements SchedulingServiceServiceImplementation
if (customArgsFilter?.length === 0) {
return [];
}
if(!Array.isArray(customArgsFilter)) {
customArgsFilter = [customArgsFilter];
}
for (let customArgObj of customArgsFilter) {
const ownerIndicatorEntity = customArgObj?.entity;
const ownerValues = customArgObj?.instance;
Expand Down

0 comments on commit 47861fd

Please sign in to comment.