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
Currently, we have an endpoint for getting books without a token (getBooksNoToken/) as well as an endpoint for getting them when you are logged in (with a token, getAllBooks/). Instead, we should move to one endpoint that uses auth.optional, and if a token is provided, then we can block the user's books from showing up, etc. and if not, then it just functions as getBooksNoToken
The text was updated successfully, but these errors were encountered:
Currently, we have an endpoint for getting books without a token (
getBooksNoToken/
) as well as an endpoint for getting them when you are logged in (with a token,getAllBooks/
). Instead, we should move to one endpoint that usesauth.optional
, and if a token is provided, then we can block the user's books from showing up, etc. and if not, then it just functions asgetBooksNoToken
The text was updated successfully, but these errors were encountered: