Fix ordering

This commit is contained in:
ferreo 2024-07-30 02:02:05 +01:00
parent bc330a258e
commit 2269419629
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ func Queue(c *fiber.Ctx) error {
return true
})
finalReturn.StableSortByKey()
result := finalReturn.GetPage(adjustedPageNum, pageSize)
response := QueueResponse{

View File

@ -49,7 +49,7 @@ func Packages(c *fiber.Ctx) error {
}
return true
})
finalReturn.StableSortByKey()
result := finalReturn.GetPage(adjustedPageNum, pageSize)
response := PackagesResponse{