From 75508159b13b4af33c546542e9da1d3edd811599 Mon Sep 17 00:00:00 2001 From: Eclypsed Date: Thu, 22 Feb 2024 17:19:14 -0500 Subject: [PATCH] Aborted commit --- src/lib/server/users.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/server/users.ts b/src/lib/server/users.ts index c3da22a..bb46228 100644 --- a/src/lib/server/users.ts +++ b/src/lib/server/users.ts @@ -55,9 +55,9 @@ export class Users { } export class Connections { - static getConnection = (id: string): Connection => { + static getConnection = (id: string): BaseConnection => { const { userId, service, accessToken, refreshToken, expiry } = db.prepare('SELECT * FROM Connections WHERE id = ?').get(id) as ConnectionsTableSchema - const connection: Connection = { id, userId, service: JSON.parse(service), accessToken, refreshToken, expiry } + const connection: BaseConnection = { id, userId, service: JSON.parse(service), accessToken, refreshToken, expiry } return connection }