@@ -85,7 +85,7 @@ export class UpdateUser {
|
||||
/**
|
||||
* Creates a User entity from this.
|
||||
*/
|
||||
public async toUser(user: User): Promise<User> {
|
||||
public async updateUser(user: User): Promise<User> {
|
||||
user.email = this.email;
|
||||
user.username = this.username;
|
||||
if (user.email === undefined && user.username === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user