You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protected route
If the user is an admin , they should be able to delete a book
If the endpoint is a valid book_id , then the corresponding book should be deleted from the db
Return a json upon successful deletion with the appropriate status code
The text was updated successfully, but these errors were encountered:
Protected route
If the user is an admin , they should be able to delete a book
If the endpoint is a valid book_id , then the corresponding book should be deleted from the db
Return a json upon successful deletion with the appropriate status code
The text was updated successfully, but these errors were encountered: