We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba7fed2 commit 2a55f83Copy full SHA for 2a55f83
content/techniques/sql.md
@@ -181,7 +181,7 @@ export class UsersService {
181
}
182
183
findOne(id: string): Promise<User> {
184
- return this.usersRepository.findOneBy({ id: id });
+ return this.usersRepository.findOneBy({ id });
185
186
187
async remove(id: string): Promise<void> {
@@ -205,7 +205,7 @@ export class UsersService {
205
206
207
findOne(id) {
208
- return this.usersRepository.findOne(id);
209
210
211
async remove(id) {
0 commit comments