feat(reading): clean and refactor routing for books -> reading to separate paths

This commit is contained in:
Cory Dransfeldt 2025-05-16 13:03:55 -07:00
parent 8d9455940e
commit 262ee84a6d
No known key found for this signature in database
21 changed files with 42 additions and 88 deletions

View file

@ -90,7 +90,7 @@ class BookImportHandler extends ApiHandler
"author" => $author,
"description" => $description,
"read_status" => "want to read",
"slug" => "/books/" . $isbn,
"slug" => "/reading/books/" . $isbn,
];
$this->makeRequest("POST", "books", ["json" => $bookPayload]);