Skip to content

Conversation

@SlothfulDreams
Copy link

ℹ️ Issue

Closes #15

📝 Description

Implements the UPDATE endpoint for anthologies letting users to modify existing anthology records by ID.

Briefly list the changes made to the code:

  1. Added PUT /library/anthology/:anthologyId endpoint to `LibraryController
  2. Implemented updateAnthology() method in `LibraryService
  3. Added 5 test case

✔️ Verification

Wrote 5 test cases in library.controller.spec.t

Used yarn test library.controller.spec.t to test.
All original + old test all passes

image

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

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.

UPDATE endpoint for updating an anthology in a library

1 participant