Skip to content

Commit

Permalink
🐛 fix: fcmToken 누락 수정 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
synoti21 committed Nov 29, 2023
1 parent 933699b commit e06f8e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/infra/entities/family-member.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ export class FamilyMember {
role: number,
family: Family,
user: User,
fcmToken: string,
): FamilyMember {
const familyMember = new FamilyMember();
familyMember.role = role;
familyMember.pokeCount = 0;
familyMember.talkCount = 0;
familyMember.family = family;
familyMember.user = user;
familyMember.fcmToken = fcmToken;
return familyMember;
}

Expand Down

0 comments on commit e06f8e2

Please sign in to comment.