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

@@ -75,7 +75,9 @@ export class InMemoryAuthStore implements AuthStore {
async getSession(tokenId: TokenId): Promise<SessionData | null> {
const session = this.sessions.get(tokenId);
if (!session) return null;
if (!session) {
return null;
}
// Check expiration
if (new Date() > session.expiresAt) {
@@ -110,7 +112,9 @@ export class InMemoryAuthStore implements AuthStore {
async getUserByEmail(email: string): Promise<User | null> {
const userId = this.usersByEmail.get(email.toLowerCase());
if (!userId) return null;
if (!userId) {
return null;
}
return this.users.get(userId) ?? null;
}