Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move GET api/collection-by-id/[id] to api/collection/[id] #1060

Open
sspenst opened this issue Dec 12, 2023 · 0 comments
Open

move GET api/collection-by-id/[id] to api/collection/[id] #1060

sspenst opened this issue Dec 12, 2023 · 0 comments
Labels
refactor Improving or cleaning up existing code

Comments

@sspenst
Copy link
Owner

sspenst commented Dec 12, 2023

api/collection/[id] currently has PUT and DELETE, which are withAuth APIs

api/collection-by-id/[id] is a GET API and does not require auth

Need a better way to combine auth / non-auth requests in a single apiWrapper (auth boolean in ReqExpected?)

@sspenst sspenst added the refactor Improving or cleaning up existing code label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improving or cleaning up existing code
Projects
None yet
Development

No branches or pull requests

1 participant