diff --git a/app/backend/src/groups/dto/groups.dto.ts b/app/backend/src/groups/dto/groups.dto.ts index a066ba910..83bd687b2 100644 --- a/app/backend/src/groups/dto/groups.dto.ts +++ b/app/backend/src/groups/dto/groups.dto.ts @@ -8,6 +8,12 @@ export class GroupsDto implements ResponseGroupsDto { @ApiProperty({ description: 'title of the Group', example: '부스트캠프 웹・모바일 8기' }) title: string; + + @ApiProperty({ description: 'GroupOwner Id', example: '1' }) + groupOwnerId: Bigint; + + @ApiProperty({ description: 'Group Type Id', example: '1' }) + groupTypeId: number; } export class GroupsWithMemberCountDto implements ResponseGroupsWithMemberCountDto { diff --git a/app/backend/src/mogaco-boards/mogaco-boards.repository.ts b/app/backend/src/mogaco-boards/mogaco-boards.repository.ts index 8643c147f..1f6cf2573 100644 --- a/app/backend/src/mogaco-boards/mogaco-boards.repository.ts +++ b/app/backend/src/mogaco-boards/mogaco-boards.repository.ts @@ -171,6 +171,8 @@ export class MogacoRepository { group: { id: mogaco.group.id.toString(), title: mogaco.group.title, + groupOwnerId: mogaco.group.groupOwnerId.toString(), + groupTypeId: mogaco.group.groupTypeId, }, })); } @@ -209,6 +211,8 @@ export class MogacoRepository { group: { id: participant.mogaco.group.id.toString(), title: participant.mogaco.group.title, + groupOwnerId: participant.mogaco.group.groupOwnerId.toString(), + groupTypeId: participant.mogaco.group.groupTypeId, }, }));