Skip to content

Commit 1ebde28

Browse files
committed
style: add comment, whitespace
1 parent 6c663a7 commit 1ebde28

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

server/src/user/entity/user.entity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class User {
7474
_id: Types.ObjectId;
7575

7676
createdAt: Date; // Added automatically by Mongoose: https://mongoosejs.com/docs/timestamps.html
77-
77+
7878
updatedAt: Date; // Added automatically by Mongoose: https://mongoosejs.com/docs/timestamps.html
7979
}
8080

server/src/user/user.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export class UserController {
3030
@Get('/:username')
3131
async getUser(@Param('username') username: string) {
3232
return await this.userService.getUserByEmailOrId({ username: username });
33+
// TODO: this may call userService.getUserByUsername directly
3334
}
3435

3536
@Get('by-query')

0 commit comments

Comments
 (0)