-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
orgs/{name}/teams?page={page}
return 200
with null\n
as content instead of empty list
#28420
Labels
Comments
lunny
pushed a commit
that referenced
this issue
Jan 11, 2024
Fixes #28420 Don't return `nil` if the input was empty.
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Jan 11, 2024
Fixes go-gitea#28420 Don't return `nil` if the input was empty.
lunny
pushed a commit
that referenced
this issue
Jan 12, 2024
fuxiaohei
pushed a commit
to fuxiaohei/gitea
that referenced
this issue
Jan 17, 2024
Fixes go-gitea#28420 Don't return `nil` if the input was empty.
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 20, 2024
Fixes go-gitea#28420 Don't return `nil` if the input was empty.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 always200
withnull\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
The text was updated successfully, but these errors were encountered: