Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE | Create UserPuzzles#create & Update UserLoans#create Endpoints #52

Merged
merged 18 commits into from
Oct 22, 2023

Conversation

MelTravelz
Copy link
Contributor

@MelTravelz MelTravelz commented Oct 22, 2023

Changes:

  • Created UserPuzzles#create Endpoint
    • Assuming we can receive the puzzle_image_url from FE after they upload it via Cloudinary
  • Update UserLoans#create Endpoint to not allow a loan creation if a puzzle status is pending or not available
  • In handling a merge conflict with another incoming branch, also updated sessions_request_spec tests

This is related to #34

This closes #9

[] I linted my work. (RuboCop)

[] I've updated documentation & README. (if necessary)


(For Fun!) Please include a link to a meme/gif of your feelings about this branch!

Link:
upload

@MelTravelz MelTravelz requested a review from kem247 October 22, 2023 17:31
@MelTravelz MelTravelz self-assigned this Oct 22, 2023
@kem247 kem247 merged commit 38bed36 into main Oct 22, 2023
1 check passed
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.

UserPuzzles#create | POST "/api/v1/users/:id/puzzles"
2 participants