Skip to content

Commit 64868ee

Browse files
Update Invitation API Issue Fix: v2
1 parent 6896dc6 commit 64868ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/invitation/invitation.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class InvitationService {
285285
}
286286

287287
// If accepted, then map user as cohort admin
288-
if (request.body.invitationStatus === "Accepted") {
288+
if (updateInvitationDto.invitationStatus === "Accepted") {
289289
// Get role for roleId
290290
const role = await this.roleRepository.findOne({
291291
where: { tenantId: invitation.tenantId, code: "cohort_admin" },

0 commit comments

Comments
 (0)