feat : send only user ids
This commit is contained in:
@@ -3,10 +3,13 @@ import { UserResponseDTO } from './userresponse.dto';
|
||||
export class PlayerResponseDTO {
|
||||
constructor(partial: Partial<PlayerResponseDTO>) {
|
||||
this.score = partial.score;
|
||||
this.user = new UserResponseDTO(partial.user);
|
||||
this.userId = partial.userId;
|
||||
this.id = partial.id;
|
||||
// this.user = new UserResponseDTO(partial.user);
|
||||
}
|
||||
|
||||
user: UserResponseDTO;
|
||||
id: number;
|
||||
userId: number;
|
||||
|
||||
score: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user