Skip to content

orgs/{name}/teams?page={page} return 200 with null\n as content instead of empty list #28420

Closed
@YannMagnin

Description

@YannMagnin

Description

When I try to get teams' information using GET on /orgs/{org}/teams?page={page} with a page that do not exists, the returned status is always 200 with null\n as raw data instead of an empty list.

Gitea Version

1.21.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Linux Mint, EndeavourOS

How are you running Gitea?

Official binaries, and running from systemd and command-line

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions