hydrateEvents: in -> of

This commit is contained in:
Alex Gleason
2024-03-30 16:30:48 -05:00
parent 4dfd958718
commit a3201f4f33

View File

@@ -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 });