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,17 +293,13 @@ export class DittoRelayStore implements NRelay {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
await db.kysely.updateTable('author_stats').set({
|
||||||
await db.kysely.updateTable('author_stats').set({
|
nip05: null,
|
||||||
nip05: null,
|
nip05_domain: null,
|
||||||
nip05_domain: null,
|
nip05_hostname: null,
|
||||||
nip05_hostname: null,
|
nip05_last_verified_at: author.created_at,
|
||||||
nip05_last_verified_at: author.created_at,
|
}).where('pubkey', '=', author.pubkey)
|
||||||
}).where('pubkey', '=', author.pubkey)
|
.execute();
|
||||||
.execute();
|
|
||||||
} catch {
|
|
||||||
// nothing hahah
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Parse kind 0 metadata and track indexes in the database. */
|
/** Parse kind 0 metadata and track indexes in the database. */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue