Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ExplodingDragon committed Dec 5, 2023
1 parent 3cf416d commit d69539c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/packages/rpm/rpm.go
Expand Up @@ -67,7 +67,7 @@ func CheckRepositoryFileExistence(ctx *context.Context) {
return
}

pf, err := packages_model.GetFileForVersionByName(ctx, pv.ID, ctx.Params("filename"), packages_model.EmptyFileKey)
pf, err := packages_model.GetFileForVersionByName(ctx, pv.ID, ctx.Params("filename"), ctx.Params("group"))
if err != nil {
if errors.Is(err, util.ErrNotExist) {
ctx.Status(http.StatusNotFound)
Expand Down

0 comments on commit d69539c

Please sign in to comment.