mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: pass abort signal in hydrateRepostEvents
This commit is contained in:
parent
6248272243
commit
a993051439
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ async function hydrateRepostEvents(opts: Omit<HydrateEventOpts, 'relations'>): P
|
||||||
}
|
}
|
||||||
return event.id;
|
return event.id;
|
||||||
}),
|
}),
|
||||||
}]);
|
}], { signal });
|
||||||
|
|
||||||
for (const event of events) {
|
for (const event of events) {
|
||||||
if (event.kind === 6) {
|
if (event.kind === 6) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue