Skip to content

Commit 5e9e22b

Browse files
committed
address comment
1 parent 77bc296 commit 5e9e22b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/sim/app/api/tools/crowdstrike/query

apps/sim/app/api/tools/crowdstrike/query/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function getCloudBaseUrl(cloud: QueryRequest['cloud']): string {
4141
}
4242

4343
function isJsonRecord(value: unknown): value is JsonRecord {
44-
return typeof value === 'object' && value !== null
44+
return typeof value === 'object' && value !== null && !Array.isArray(value)
4545
}
4646

4747
function getString(value: unknown): string | null {

0 commit comments

Comments
 (0)