Skip to content

Conversation

@Juho9
Copy link
Contributor

@Juho9 Juho9 commented Nov 29, 2023

Book_reservation /cancel and /loan request bodies changed to "reservationId" instead of "bookId".

User can't make new loan for book that has reservation to previous borrow that is returned. Previously having reservation to book didn't prevent other users from loaning book.

Also modified tests to work with changes.

@Lauri-Iivarinen Lauri-Iivarinen merged commit 959b4bf into development Nov 30, 2023
@Lauri-Iivarinen Lauri-Iivarinen deleted the s23-bookreservation-fix branch December 8, 2023 10:00
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