From 880029a0cf8be2f22009e07a3911af1f09fecc89 Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Mon, 29 Sep 2025 10:53:50 +0200 Subject: [PATCH] changed docs --- Docs/backend_API_docs/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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: ```