aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/setting_secrets.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/setting_secrets.go')
-rw-r--r--routers/web/repo/setting_secrets.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/web/repo/setting_secrets.go b/routers/web/repo/setting_secrets.go
index c42dee583b..57a4c470dd 100644
--- a/routers/web/repo/setting_secrets.go
+++ b/routers/web/repo/setting_secrets.go
@@ -41,6 +41,8 @@ func SecretsPost(ctx *context.Context) {
func DeleteSecret(ctx *context.Context) {
shared.PerformSecretsDelete(
ctx,
+ 0,
+ ctx.Repo.Repository.ID,
ctx.Repo.RepoLink+"/settings/secrets",
)
}