mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: await Promise.allSettled
This commit is contained in:
parent
ab6054efe8
commit
dfff63fab4
1 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ export class DittoRelayStore implements NRelay {
|
|||
await relay.event(purifyEvent(event), { signal });
|
||||
} finally {
|
||||
// This needs to run in steps, and should not block the API from responding.
|
||||
Promise.allSettled([
|
||||
await Promise.allSettled([
|
||||
this.handleRevokeNip05(event, signal),
|
||||
this.handleZaps(event),
|
||||
this.updateAuthorData(event, signal),
|
||||
|
|
@ -281,7 +281,7 @@ export class DittoRelayStore implements NRelay {
|
|||
nip05: null,
|
||||
nip05_domain: null,
|
||||
nip05_hostname: null,
|
||||
nip05_last_verified_at: event.created_at,
|
||||
nip05_last_verified_at: author.created_at,
|
||||
})
|
||||
)
|
||||
.execute();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue