We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52483f6 commit 5c1ccd4Copy full SHA for 5c1ccd4
packages/common-utils/src/metadata.ts
@@ -351,7 +351,7 @@ export class Metadata {
351
.then(d => {
352
const keys: { key: string; chType: string }[] = [];
353
for (const [key, typeArr] of Object.entries(d.data[0].pathMap)) {
354
- if (key || !typeArr || !Array.isArray(typeArr)) {
+ if (!key || !typeArr || !Array.isArray(typeArr)) {
355
throw new Error(
356
`Error fetching keys for filters (key: ${key}, typeArr: ${typeArr})`,
357
);
0 commit comments