Skip to content

Commit 2a0f649

Browse files
committed
fix: update user's lastEdited field when saving username
1 parent 172621c commit 2a0f649

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/user/user.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export class UserService {
146146
}
147147

148148
user.username = username;
149+
user.lastEdited = new Date();
149150

150151
return await user.save();
151152
}

0 commit comments

Comments
 (0)