chore : remove class-transformer

This commit is contained in:
2024-12-29 19:34:43 +01:00
parent 49829c8017
commit fff2abf0a1
2 changed files with 11 additions and 12 deletions
+2 -5
View File
@@ -1,16 +1,13 @@
import { Expose } from 'class-transformer';
export class UserResponseDTO {
constructor(partial: Partial<UserResponseDTO>) {
Object.assign(this, partial);
this.id = partial.id;
}
@Expose()
id: string;
@Expose()
username: string;
@Expose()
avatar: string;
}