Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Don't allow API calls with sort=random + last_id #807

Open
jtotoole opened this issue Aug 25, 2021 · 1 comment
Open

Don't allow API calls with sort=random + last_id #807

jtotoole opened this issue Aug 25, 2021 · 1 comment
Labels

Comments

@jtotoole
Copy link
Contributor

jtotoole commented Aug 25, 2021

Post-Colorado Mystery, make the API return an error when these parameters are used together in calls to stories/list endpoint: sort=random and processed_stories_id>0.

@rahulbot
Copy link
Contributor

(note: I added a check to prevent this within the API client, which gets us a good bit of the way there because it stops ourselves and our tools from returning results if we try to do this)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants