modify method name

This commit is contained in:
MaysWind
2025-03-23 14:59:06 +08:00
parent fc2c5a8e6c
commit ab4fc8faf5
11 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export class User {
this.firstDayOfWeek = firstDayOfWeek;
}
public from(user: User | UserBasicInfo | UserProfileResponse): void {
public fillFrom(user: User | UserBasicInfo | UserProfileResponse): void {
this.username = user.username;
this.email = user.email;
this.nickname = user.nickname;