diff --git a/src/storages/hydrate.ts b/src/storages/hydrate.ts index 405b196d..8d152f0b 100644 --- a/src/storages/hydrate.ts +++ b/src/storages/hydrate.ts @@ -17,7 +17,7 @@ async function hydrateEvents(opts: HydrateEventOpts): Promise { return events; } - for (const relation in relations) { + for (const relation of relations) { switch (relation) { case 'author': await hydrateAuthors({ events, storage, signal });