fix only showing one queued & building package

This commit is contained in:
2024-01-26 12:16:00 +01:00
parent 81efe8b62a
commit 6746d08304

View File

@@ -157,7 +157,7 @@ const getBuiltPackages = () => {
} }
const getBuildingPackages = () => { const getBuildingPackages = () => {
fetch('https://api.alhp.dev/packages?limit=1&offset=0&status=building', { fetch('https://api.alhp.dev/packages?limit=0&offset=0&status=building', {
method: 'GET' method: 'GET'
}) })
.then((response) => { .then((response) => {
@@ -174,7 +174,7 @@ const getBuildingPackages = () => {
} }
const getQueuedPackages = () => { const getQueuedPackages = () => {
fetch('https://api.alhp.dev/packages?limit=1&offset=0&status=queued', { fetch('https://api.alhp.dev/packages?limit=0&offset=0&status=queued', {
method: 'GET' method: 'GET'
}) })
.then((response) => { .then((response) => {