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 6c663a7 commit 1ebde28Copy full SHA for 1ebde28
server/src/user/entity/user.entity.ts
@@ -74,7 +74,7 @@ export class User {
74
_id: Types.ObjectId;
75
76
createdAt: Date; // Added automatically by Mongoose: https://mongoosejs.com/docs/timestamps.html
77
-
+
78
updatedAt: Date; // Added automatically by Mongoose: https://mongoosejs.com/docs/timestamps.html
79
}
80
server/src/user/user.controller.ts
@@ -30,6 +30,7 @@ export class UserController {
30
@Get('/:username')
31
async getUser(@Param('username') username: string) {
32
return await this.userService.getUserByEmailOrId({ username: username });
33
+ // TODO: this may call userService.getUserByUsername directly
34
35
36
@Get('by-query')
0 commit comments