Skip to content

Commit b89226c

Browse files
committed
server fix db interfice type
1 parent 03642c8 commit b89226c

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
@@ -81,7 +81,7 @@ export interface DBInterface {
8181
setService(userId: string, serviceName: string, data: object): Promise<void>;
8282

8383
// Password related operation
84-
findPasswordHash(userId: string): Promise<string>;
84+
findPasswordHash(userId: string): Promise<string | null>;
8585
findUserByResetPasswordToken(token: string): Promise<UserObjectType | null>;
8686
setPassword(userId: string, newPassword: string): Promise<void>;
8787
addResetPasswordToken(

0 commit comments

Comments
 (0)