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;
|
return events;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const relation in relations) {
|
for (const relation of relations) {
|
||||||
switch (relation) {
|
switch (relation) {
|
||||||
case 'author':
|
case 'author':
|
||||||
await hydrateAuthors({ events, storage, signal });
|
await hydrateAuthors({ events, storage, signal });
|
||||||
|
|
Loading…
Reference in New Issue