Skip to content

Commit

Permalink
added logo and createdAt fields to list and get endpoints for groups
Browse files Browse the repository at this point in the history
  • Loading branch information
omersafakbebek committed Dec 14, 2023
1 parent d22a163 commit 5648287
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ludos/backend/src/dtos/group/response/get.response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,12 @@ export class GroupGetResponseDto {
@ApiProperty()
@Expose()
isJoined: boolean;

@ApiProperty()
@Expose()
createdAt: Date;

@ApiProperty()
@Expose()
logo: string;
}
8 changes: 8 additions & 0 deletions ludos/backend/src/dtos/group/response/list.response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,12 @@ export class GroupListResponseDto {
@ApiProperty()
@Expose()
isJoined: boolean;

@ApiProperty()
@Expose()
createdAt: Date;

@ApiProperty()
@Expose()
logo: string;
}

0 comments on commit 5648287

Please sign in to comment.