Skip to content

Commit

Permalink
WIP DO NOT MERGE
Browse files Browse the repository at this point in the history
fix ts
  • Loading branch information
jygaulier committed Apr 5, 2024
1 parent 86aca11 commit 05bfd44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions databox/indexer/src/handlers/phraseanet/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const phraseanetIndexer: IndexIterator<PhraseanetConfig> =
// scan the conf.fieldMap to get a list of required locales
const fieldMap = new Map<string, FieldMap>(Object.entries(dm.fieldMap ?? {}));
let locales: string[] = [];
// @ts-ignore
for(const [name, fm] of fieldMap) {
for (const v of fm.values) {
if (v.locale !== undefined) {
Expand Down

0 comments on commit 05bfd44

Please sign in to comment.