Skip to content

Conversation

@Mjdelima20
Copy link
Collaborator

Asana

[Commands]

  • docker-compose up

[Pre-conditions]

  1. Login as student
  2. Add this endpoint /api/student/category/{category_id}/done
  3. Set request to POST
  4. Click Body
  5. Set the body to raw and JSON
  6. input this text : {"isDone": true}
  7. Click Send

[Expected Output]

  • Attempt should be recorded

[Screenshots]

Details

image

});

const user = await this.userService.findOne({
where: { user_id },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you share a brief overview of what the 'attempts' service is and what 'isDone' means?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@escbooster12-dev

  • attempts service sir is the responsible for saving the attempt of the user and the user's taken category.
  • For the isDone , I created that one since it is a post request and needed a body that is why is used isDone boolean to identify the current user what category did he take

Copy link
Collaborator

@escbooster12-dev escbooster12-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants