diff --git a/Docs/backend_API_docs/README.md b/Docs/backend_API_docs/README.md index ee866cf..0d22b10 100644 --- a/Docs/backend_API_docs/README.md +++ b/Docs/backend_API_docs/README.md @@ -152,6 +152,10 @@ POST `/apiV2/setReturnDate/:key/:loan_code` Sets the `returned_date` to the current server time. +**Note:** I have updated this API route, so that everytime you return or take a loan, the state of the loaned items is automatically updated. + +**DO NOT UPDATE THE STATE MANUALLY! (only if the item was taken with an admin key)** + Example request: ``` @@ -174,6 +178,10 @@ POST `/apiV2/setTakeDate/:key/:loan_code` Sets the `take_date` to the current server time. +**Note:** I have updated this API route, so that everytime you return or take a loan, the state of the loaned items is automatically updated. + +**DO NOT UPDATE THE STATE MANUALLY! (only if the item was taken with an admin key)** + Example request: ```