API: PATCH api/v1/repos/{username}/{reponame} does not work when repo is empty #15602
Closed
1 of 2 tasks
Labels
issue/regression
Issue needs no code to be fixed, only a description on how to fix it yourself
modifies/api
This PR adds API routes or modifies them
Milestone
Description
This returns an empty HTTP 200 response, but the changes were not applied.
This is for an empty repository. It works correctly on a non-empty repo.
This is a regression in 1.14, it works on 1.13.
I think the issue may be here:
https://github.com/go-gitea/gitea/blob/master/modules/context/api.go#L281-L284
The text was updated successfully, but these errors were encountered: