message: fix: correctly checking if user have finished the course on currentStep
diff: @@ -232,21 +232,22 @@ export class CourseTakenV2Service {
  const courseTaken = await this.findByUserIdAndCourseId(userId, courseId);
  if (
  + !courseTaken.challenge &&
  courseTaken.status === CourseTakenStatusEnum.COMPLETED &&
  courseTaken.completion === 100
  ) {
  return {
  - doing: CurrentStepDoingEnum.COMPLETED,
  + doing: CurrentStepDoingEnum.CHALLENGE,
  };
  }
  if (
  - !courseTaken.challenge &&
  + courseTaken.challenge &&
  courseTaken.status === CourseTakenStatusEnum.COMPLETED &&
  courseTaken.completion === 100
  ) {
  return {
  - doing: CurrentStepDoingEnum.CHALLENGE,
  + doing: CurrentStepDoingEnum.COMPLETED,
  };
  }
  