From 6cd1085d8ae4bd7687ec46da1ac180c8ecbad2ac Mon Sep 17 00:00:00 2001 From: Krupesh Anadkat Date: Sun, 20 Sep 2020 18:39:50 +0530 Subject: [PATCH] Added missing parameter for Update API Apart from ["wantToRead", "currentlyReading", "read"] it also accepts accepts "none" to remove books from shelf. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce4ea2eb85..b2266b4611 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ update(book, shelf) ``` * book: `` containing at minimum an `id` attribute -* shelf: `` contains one of ["wantToRead", "currentlyReading", "read"] +* shelf: `` contains one of ["wantToRead", "currentlyReading", "read", "none"] * Returns a Promise which resolves to a JSON object containing the response data of the POST request ### `search`