aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/user/package.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/user/package.go')
-rw-r--r--routers/web/user/package.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/package.go b/routers/web/user/package.go
index 57770b2b1a..146b94dfdf 100644
--- a/routers/web/user/package.go
+++ b/routers/web/user/package.go
@@ -439,7 +439,7 @@ func PackageSettingsPost(ctx *context.Context) {
ctx.Redirect(ctx.Link)
return
case "delete":
- err := packages_service.RemovePackageVersion(ctx.Doer, ctx.Package.Descriptor.Version)
+ err := packages_service.RemovePackageVersion(ctx, ctx.Doer, ctx.Package.Descriptor.Version)
if err != nil {
log.Error("Error deleting package: %v", err)
ctx.Flash.Error(ctx.Tr("packages.settings.delete.error"))