From bdebb1593c2e211fcb6824cac5e6eaa5536e6ede Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 2 Jul 2020 22:04:39 +0100 Subject: [PATCH] Fixed: Editing authors from bookshelf Fixes #39 --- frontend/src/Store/Actions/bookshelfActions.js | 2 +- .../{BookshelfAuthorResource1.cs => BookshelfAuthorResource.cs} | 0 .../BookShelf/{BookshelfModule1.cs => BookshelfModule.cs} | 0 .../BookShelf/{BookshelfResource1.cs => BookshelfResource.cs} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename src/Readarr.Api.V1/BookShelf/{BookshelfAuthorResource1.cs => BookshelfAuthorResource.cs} (100%) rename src/Readarr.Api.V1/BookShelf/{BookshelfModule1.cs => BookshelfModule.cs} (100%) rename src/Readarr.Api.V1/BookShelf/{BookshelfResource1.cs => BookshelfResource.cs} (100%) diff --git a/frontend/src/Store/Actions/bookshelfActions.js b/frontend/src/Store/Actions/bookshelfActions.js index adc4d196e..1586b846a 100644 --- a/frontend/src/Store/Actions/bookshelfActions.js +++ b/frontend/src/Store/Actions/bookshelfActions.js @@ -126,7 +126,7 @@ export const actionHandlers = handleThunks({ url: '/bookshelf', method: 'POST', data: JSON.stringify({ - author: authors, + authors, monitoringOptions: { monitor } }), dataType: 'json' diff --git a/src/Readarr.Api.V1/BookShelf/BookshelfAuthorResource1.cs b/src/Readarr.Api.V1/BookShelf/BookshelfAuthorResource.cs similarity index 100% rename from src/Readarr.Api.V1/BookShelf/BookshelfAuthorResource1.cs rename to src/Readarr.Api.V1/BookShelf/BookshelfAuthorResource.cs diff --git a/src/Readarr.Api.V1/BookShelf/BookshelfModule1.cs b/src/Readarr.Api.V1/BookShelf/BookshelfModule.cs similarity index 100% rename from src/Readarr.Api.V1/BookShelf/BookshelfModule1.cs rename to src/Readarr.Api.V1/BookShelf/BookshelfModule.cs diff --git a/src/Readarr.Api.V1/BookShelf/BookshelfResource1.cs b/src/Readarr.Api.V1/BookShelf/BookshelfResource.cs similarity index 100% rename from src/Readarr.Api.V1/BookShelf/BookshelfResource1.cs rename to src/Readarr.Api.V1/BookShelf/BookshelfResource.cs