mirror of
https://github.com/go-gitea/gitea
synced 2025-07-24 11:18:36 +00:00
Updates to the API for archived repos (#27149)
This commit is contained in:
@@ -47,6 +47,8 @@ func ApplyDiffPatch(ctx *context.APIContext) {
|
||||
// "$ref": "#/responses/FileResponse"
|
||||
// "404":
|
||||
// "$ref": "#/responses/notFound"
|
||||
// "423":
|
||||
// "$ref": "#/responses/repoArchivedError"
|
||||
apiOpts := web.GetForm(ctx).(*api.ApplyDiffPatchFileOptions)
|
||||
|
||||
opts := &files.ApplyDiffPatchOptions{
|
||||
|
Reference in New Issue
Block a user