get all lots not only temporary
This commit is contained in:
parent
63c7b29233
commit
350aad19c4
|
@ -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;
|
||||
},
|
||||
|
|
Reference in a new issue