Fix formatting

This commit is contained in:
2026-01-10 08:51:20 -06:00
parent 17ea6ba02d
commit 6c0895de07
5 changed files with 29 additions and 10 deletions

View File

@@ -241,7 +241,9 @@ class PostgresAuthStore implements AuthStore {
.where("expires_at", ">", new Date())
.executeTakeFirst();
if (!row) return null;
if (!row) {
return null;
}
return {
tokenId: row.token_id,
@@ -290,7 +292,9 @@ class PostgresAuthStore implements AuthStore {
.where(sql`LOWER(email)`, "=", email.toLowerCase())
.executeTakeFirst();
if (!row) return null;
if (!row) {
return null;
}
return this.rowToUser(row);
}
@@ -301,7 +305,9 @@ class PostgresAuthStore implements AuthStore {
.where("id", "=", userId)
.executeTakeFirst();
if (!row) return null;
if (!row) {
return null;
}
return this.rowToUser(row);
}