mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-14 02:58:12 +00:00
reqToken
This commit is contained in:
parent
8bf09b951e
commit
9298b10bff
@ -1281,7 +1281,7 @@ func Routes() *web.Router {
|
||||
m.Get("/tasks", repo.ListActionTasks)
|
||||
m.Group("/runs/{run}", func() {
|
||||
m.Get("/artifacts", repo.GetArtifactsOfRun)
|
||||
m.Delete("", reqRepoWriter(unit.TypeActions), repo.DeleteActionRun)
|
||||
m.Delete("", reqToken(), reqRepoWriter(unit.TypeActions), repo.DeleteActionRun)
|
||||
})
|
||||
m.Get("/artifacts", repo.GetArtifacts)
|
||||
m.Group("/artifacts/{artifact_id}", func() {
|
||||
|
Loading…
Reference in New Issue
Block a user