From 350aad19c4ebc352f62498ccc847e673b7970997 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 10 Jan 2023 14:10:49 +0100 Subject: [PATCH] get all lots not only temporary --- ereuse_devicehub/static/js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/static/js/api.js b/ereuse_devicehub/static/js/api.js index 552544d2..4baa1d78 100644 --- a/ereuse_devicehub/static/js/api.js +++ b/ereuse_devicehub/static/js/api.js @@ -4,7 +4,7 @@ const Api = { * @returns get lots */ async get_lots() { - const request = await this.doRequest(`${API_URLS.lots}?type=temporary`, "GET", null); + const request = await this.doRequest(`${API_URLS.lots}`, "GET", null); if (request != undefined) return request.items; throw request; },