Repository navigation
First Check
Commit to Help
Example CodeDescriptionI 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 |
Answered by
ChrisSQL
Apr 16, 2025
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. |
0 replies
Answer selected by
ChrisSQL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just for transparency ive found if you remove the CurrentUser from the route it makes the endpoint work without user being logged in.