Skip to content

Commit

Permalink
Merge pull request #108 from souravbhowmik1999/cohort_member_update
Browse files Browse the repository at this point in the history
Cohort member update
  • Loading branch information
snehal0904 authored Nov 29, 2024
2 parents 08af36a + ed09dad commit 9275b6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapters/postgres/cohortMembers-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ export class PostgresCohortMembersService {
HttpStatus.NOT_FOUND
);
}
Object.assign(cohortMembershipToUpdate, cohortMembersUpdateDto);
let result = await this.cohortMembersRepository.save(
cohortMembershipToUpdate
);
Expand Down Expand Up @@ -754,7 +755,7 @@ export class PostgresCohortMembersService {
res,
apiId,
[],
HttpStatus.CREATED,
HttpStatus.OK,
API_RESPONSES.COHORTMEMBER_UPDATE_SUCCESSFULLY
);
}
Expand Down

0 comments on commit 9275b6b

Please sign in to comment.