From 2f6322b0ee4268e652b8014dbc8060fd25233c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20V?= Date: Sun, 23 Feb 2025 22:17:01 +0100 Subject: [PATCH] Fix #2849 --- cps/kobo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/kobo.py b/cps/kobo.py index 34bf5be4..5514c97b 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -955,7 +955,7 @@ def HandleBookDeletionRequest(book_uuid): # TODO: Implement the following routes @csrf.exempt -@kobo.route("/v1/library/", methods=["DELETE", "GET"]) +@kobo.route("/v1/library/", methods=["DELETE", "GET", "POST"]) def HandleUnimplementedRequest(dummy=None): log.debug("Unimplemented Library Request received: %s (request is forwarded to kobo if configured)", request.base_url)