From 47861fd3c34bec0d322ddcd577d27cd559e96fdf Mon Sep 17 00:00:00 2001 From: akumar Date: Sun, 12 May 2024 16:02:49 +0200 Subject: [PATCH] fix: SCS read operation for filters if its not an array --- src/schedulingService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/schedulingService.ts b/src/schedulingService.ts index 541e3b9..faa9f4d 100644 --- a/src/schedulingService.ts +++ b/src/schedulingService.ts @@ -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;