Closed
Description
- Gitea version 1.3.3
- Git version: 2.11.0
- Operating system: Debian Stretch
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
The following PATCH request to update an existing team breaks the member and repository count. 0 is shown while the team still lists all of its members and all of its repositories.
curl -X PATCH -H 'Authorization: token MYTOKEN' --data 'description=Jenkins and friends&name=CI&permission=read' https://gitea.example.com/api/v1/teams/49