Skip to content

Commit

Permalink
Lower casing for data paths
Browse files Browse the repository at this point in the history
  • Loading branch information
zner0L committed Jun 11, 2024
1 parent 95ecc01 commit f0ff9f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/lib/test-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ export const loadTestDataFromDb = async (adapter: Adapter, options?: LoadTestDat
const reduction = options?.accumulateToPath
? (acc, cur) => ({
...acc,
[`${cur.property}/${cur.context}/${cur.path}`]: acc[`${cur.property}/${cur.context}/${cur.path}`]?.concat(
cur.value
) || [cur.value],
[`${cur.property}/${cur.context}/${cur.path}`.toLowerCase()]: acc[
`${cur.property}/${cur.context}/${cur.path}`.toLowerCase()
]?.concat(cur.value) || [cur.value],
})
: (acc, cur) => ({
...acc,
Expand Down

0 comments on commit f0ff9f3

Please sign in to comment.