This commit is contained in:
2026-04-08 23:08:15 +03:30
parent 6046bc3c28
commit 0d02031001
+2 -2
View File
@@ -317,7 +317,7 @@ function getLayerArea(
const pageSize = options?.pageSize ?? 10; const pageSize = options?.pageSize ?? 10;
const useCache = options?.useCache ?? true; const useCache = options?.useCache ?? true;
if (useCache) { // if (useCache) {
const cached = readCachedArea(endpoint, farmUuid, page, pageSize); const cached = readCachedArea(endpoint, farmUuid, page, pageSize);
if (cached) { if (cached) {
@@ -332,7 +332,7 @@ function getLayerArea(
}); });
return Promise.resolve(cached); return Promise.resolve(cached);
} }
} // }
const params = new URLSearchParams({ farm_uuid: farmUuid }); const params = new URLSearchParams({ farm_uuid: farmUuid });