Skip to content

Commit 6c572ed

Browse files
committed
fix findSessionById types
1 parent 35bd4f7 commit 6c572ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export interface DBInterface {
111111
): Promise<void>;
112112

113113
// Session related operations
114-
findSessionById(sessionId: string): Promise<SessionType>;
114+
findSessionById(sessionId: string): Promise<SessionType | null>;
115115
createSession(
116116
userId: string,
117117
ip?: string,

0 commit comments

Comments
 (0)