Skip to content

Commit

Permalink
fixup! fix: replace list lastVersion by referenceVersion (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven committed Dec 2, 2023
1 parent 585ba6e commit a9180b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Distribution/Server/Features/PackageList.hs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ listFeature CoreFeature{..}
maintainers <- queryUserGroup (maintainersGroup pkgname)
prefsinfo <- queryGetPreferredInfo pkgname

return $ (,) pkgname $ (updateReferenceVersion prefsinfo . updateDescriptionItem desc $ emptyPackageItem pkgname) {
return $ (,) pkgname . updateReferenceVersion prefsinfo $ (updateDescriptionItem desc $ emptyPackageItem pkgname) {
itemTags = tags
, itemMaintainer = map (userIdToName users) (UserIdSet.toList maintainers)
, itemDeprecated = deprs
Expand Down

0 comments on commit a9180b1

Please sign in to comment.