hydrateEvents: in -> of
This commit is contained in:
parent
4dfd958718
commit
a3201f4f33
|
@ -17,7 +17,7 @@ async function hydrateEvents(opts: HydrateEventOpts): Promise<DittoEvent[]> {
|
|||
return events;
|
||||
}
|
||||
|
||||
for (const relation in relations) {
|
||||
for (const relation of relations) {
|
||||
switch (relation) {
|
||||
case 'author':
|
||||
await hydrateAuthors({ events, storage, signal });
|
||||
|
|
Loading…
Reference in New Issue