Skip to content

Commit 47337a2

Browse files
Merge pull request #2496 from weartist/patch-1
Update sql.md
2 parents efd3fa4 + 5906d44 commit 47337a2

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)