Skip to content

Commit 5906d44

Browse files
authored
Update sql.md
Fix the parameter type to the correct type
1 parent a5b8181 commit 5906d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export class UsersService {
180180
return this.usersRepository.find();
181181
}
182182

183-
findOne(id: string): Promise<User> {
183+
findOne(id: number): Promise<User> {
184184
return this.usersRepository.findOneBy({ id });
185185
}
186186

0 commit comments

Comments
 (0)