Skip to content

Page should start at '1' not '0' #7

@dylanvaughn

Description

@dylanvaughn

Hi there - we noticed when fetching more than 50 timesheet records that the first page is repeated in the results. We tracked it down to this:

https://github.com/tsheets/api_ruby/blob/e7b5e5e9cf36c990436428d425e4d19ec3b9dff6/lib/tsheets/results.rb#L22

This page variable should be set to 1 initially, not 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions