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
Create logic to check if a user has submitted the repository (GET) #353
Comments
.take |
Thanks for taking this on! If you have not already, join the conversation in our Discord |
so if a user has submitted the repo should it end the logic or increase the submission count |
It should increase the count, however that is already done in the API. I checked your PR and it's missing the latest beta changes, also because this is an authenticated route, it requires similar code to the user votes, there are WIP prs doing that right now but no copy-pasteable example :/ |
Yes, i observed the API handles the submission count, my issue is writing the submission count logic, is it still necessary? |
No, this issue is about fetching user submissions, not submitting new repos from the UI, that is issue #352 |
ok, thank you |
What is this?
When submitting a repo to the app, we will need to check if the user has submitted it. This will be needed to identify the most popular users submitting repositories.
What is needed
A hook is needed to fetch https://api.opensauced.pizza/#/Submit%20service/findAllUserSubmitted
At the time of creating this issue, API hooks only exist on the alpha branch. Check here for a reference https://github.com/open-sauced/hot/tree/alpha/src/hooks
In this list, add an item that says
Submissions: count
The text was updated successfully, but these errors were encountered: