osl-base-extended 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -398,7 +398,7 @@ class DatasourceCacheService {
|
|
|
398
398
|
const response = body !== undefined
|
|
399
399
|
? await service[methodName](body)
|
|
400
400
|
: await service[methodName]();
|
|
401
|
-
const data = Array.isArray(response) ? response : (response?.result ?? []);
|
|
401
|
+
const data = Array.isArray(response) ? response : (response?.result?.data ?? []);
|
|
402
402
|
this.cache.set(key, data);
|
|
403
403
|
return data;
|
|
404
404
|
}
|