feat(reading): clean and refactor routing for books -> reading to separate paths
This commit is contained in:
parent
8d9455940e
commit
d1d107ce36
21 changed files with 42 additions and 88 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue