Skip to content

Commit

Permalink
✨ 그룹 생성 시 해당 그룹 가입 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
ldhbenecia committed Feb 2, 2024
1 parent 84bf986 commit 195bffc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/backend/src/groups/groups.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ export class GroupsRepository {
},
});

await this.joinGroup(Number(group.id), member);

return group;
} catch (error) {
throw new Error(`Failed to create group: ${error.message}`);
Expand Down

0 comments on commit 195bffc

Please sign in to comment.