summaryrefslogtreecommitdiffstats
path: root/routers/api/packages/rpm/rpm.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/rpm/rpm.go')
-rw-r--r--routers/api/packages/rpm/rpm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/rpm/rpm.go b/routers/api/packages/rpm/rpm.go
index 1e462bb908..65b7c74bdd 100644
--- a/routers/api/packages/rpm/rpm.go
+++ b/routers/api/packages/rpm/rpm.go
@@ -45,7 +45,7 @@ gpgkey=`+url+`/repository.key`)
// Gets or creates the PGP public key used to sign repository metadata files
func GetRepositoryKey(ctx *context.Context) {
- _, pub, err := rpm_service.GetOrCreateKeyPair(ctx.Package.Owner.ID)
+ _, pub, err := rpm_service.GetOrCreateKeyPair(ctx, ctx.Package.Owner.ID)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return