From c289cb5d4ba30d86a4d460f72d429ed0183e6565 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 23 Mar 2025 08:44:55 +0100 Subject: [PATCH] Fix sync fails with error when "Synchronize Notebooks" enabled --- cps/kobo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/kobo.py b/cps/kobo.py index 182bf21d..da6320df 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -960,7 +960,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)