Fix regression: access log template, gitea manager cli command (#24838)
Close #24836  
This commit is contained in:
parent
2d3ebe889e
commit
ec2a01d1e2
9 changed files with 36 additions and 34 deletions
|
@ -32,5 +32,5 @@ func RestoreRepo(ctx context.Context, repoDir, ownerName, repoName string, units
|
|||
Validation: validation,
|
||||
})
|
||||
req.SetTimeout(3*time.Second, 0) // since the request will spend much time, don't timeout
|
||||
return requestJSONUserMsg(req, fmt.Sprintf("Restore repo %s/%s successfully", ownerName, repoName))
|
||||
return requestJSONClientMsg(req, fmt.Sprintf("Restore repo %s/%s successfully", ownerName, repoName))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue