summaryrefslogtreecommitdiffstats
path: root/routers/api/packages/debian/debian.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/debian/debian.go')
-rw-r--r--routers/api/packages/debian/debian.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/debian/debian.go b/routers/api/packages/debian/debian.go
index 04ca2ed977..869bc1e901 100644
--- a/routers/api/packages/debian/debian.go
+++ b/routers/api/packages/debian/debian.go
@@ -30,7 +30,7 @@ func apiError(ctx *context.Context, status int, obj any) {
}
func GetRepositoryKey(ctx *context.Context) {
- _, pub, err := debian_service.GetOrCreateKeyPair(ctx.Package.Owner.ID)
+ _, pub, err := debian_service.GetOrCreateKeyPair(ctx, ctx.Package.Owner.ID)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return