Skip to content

Commit d69539c

Browse files
1 parent 3cf416d commit d69539c

File tree

1 file changed

+1
-1
lines changed
  • routers/api/packages/rpm

1 file changed

+1
-1
lines changed

routers/api/packages/rpm/rpm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func CheckRepositoryFileExistence(ctx *context.Context) {
6767
return
6868
}
6969

70-
pf, err := packages_model.GetFileForVersionByName(ctx, pv.ID, ctx.Params("filename"), packages_model.EmptyFileKey)
70+
pf, err := packages_model.GetFileForVersionByName(ctx, pv.ID, ctx.Params("filename"), ctx.Params("group"))
7171
if err != nil {
7272
if errors.Is(err, util.ErrNotExist) {
7373
ctx.Status(http.StatusNotFound)

0 commit comments

Comments
 (0)