-
First Check
Commit to Help
Example Code
DescriptionI have no idea why by default you have login to the site just to see anything. using the example Items how would i create an endpoint to view all items without the user having to be logged in? Ive already removed this # .where(item.owner_id == current_user.id) But i need to know how to make an actual public endpoint that i can list all items on the home screen when the user isnt logged in. Thanks Operating SystemmacOS Operating System DetailsMac Mini Python VersionPython 3.9.6 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just for transparency ive found if you remove the CurrentUser from the route it makes the endpoint work without user being logged in. |
Beta Was this translation helpful? Give feedback.
Just for transparency ive found if you remove the CurrentUser from the route it makes the endpoint work without user being logged in.