Simplify database interfaces, make tests use pglite

This commit is contained in:
Alex Gleason
2024-09-11 11:48:31 -05:00
parent dc8d09a9da
commit f3ae200833
25 changed files with 117 additions and 193 deletions

View File

@@ -20,7 +20,7 @@ export const signerMiddleware: AppMiddleware = async (c, next) => {
if (bech32.startsWith('token1')) {
try {
const kysely = await DittoDB.getInstance();
const { kysely } = await DittoDB.getInstance();
const { user_pubkey, server_seckey, relays } = await kysely
.selectFrom('nip46_tokens')