Skip to content

Update team members pagination to be 1-indexed for 1.20 #43

Closed
@shrik450

Description

@shrik450

Currently, AllSpice Hub is at 1.19, where the team members endpoint is paginated with a 0-based index. This was fixed in 1.20 (go-gitea/gitea#24754) and the endpoing is 1-based as documented. Right now, py-allspice uses the 0-index, and when AllSpice Hub switches to 1.20 this will lead to duplicates in the list of team members. We'll have to change Team.get_members when we release 1.20.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions