mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: remove try catch
This commit is contained in:
parent
1eb1f4206d
commit
9e726baa2a
1 changed files with 7 additions and 11 deletions
|
|
@ -293,7 +293,6 @@ export class DittoRelayStore implements NRelay {
|
|||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
await db.kysely.updateTable('author_stats').set({
|
||||
nip05: null,
|
||||
nip05_domain: null,
|
||||
|
|
@ -301,9 +300,6 @@ export class DittoRelayStore implements NRelay {
|
|||
nip05_last_verified_at: author.created_at,
|
||||
}).where('pubkey', '=', author.pubkey)
|
||||
.execute();
|
||||
} catch {
|
||||
// nothing hahah
|
||||
}
|
||||
}
|
||||
|
||||
/** Parse kind 0 metadata and track indexes in the database. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue