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

Return error if limit and offset are the same number #252

Open
imAsterSun opened this issue Jul 24, 2023 · 0 comments
Open

Return error if limit and offset are the same number #252

imAsterSun opened this issue Jul 24, 2023 · 0 comments
Labels
needs-triage type/bug Something went wrong

Comments

@imAsterSun
Copy link

Environment

  • Version:

    cli version: 0.5.2
    core version: 0.5.2
    build version: 0.5.2
    serve version: 0.5.2
    
  • OS: macOS

What's wrong?

If the limit and offset are set to the same number, it will return an error message.

What's the correct behavior?

It should be a normal respond.

Reproducing steps

  1. Deploy vulcan API with pagination to a canner workspace.
  2. Request the api with offset and limit are the same number, e.g. offset=10&limit=10
@imAsterSun imAsterSun added type/bug Something went wrong needs-triage labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage type/bug Something went wrong
Projects
None yet
Development

No branches or pull requests

1 participant