@adobe/spacecat-shared-data-access 2.50.0 → 2.51.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.51.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.50.0...@adobe/spacecat-shared-data-access-v2.51.0) (2025-08-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* removed slash from reports path ([#906](https://github.com/adobe/spacecat-shared/issues/906)) ([44ace99](https://github.com/adobe/spacecat-shared/commit/44ace9999fc2d5d2fc332b03cae7ceafbd9a939a))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v2.50.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.49.0...@adobe/spacecat-shared-data-access-v2.50.0) (2025-08-12)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ class ReportCollection extends BaseCollection {
|
|
|
25
25
|
|
|
26
26
|
// If storagePath is empty string (default value), compute it automatically
|
|
27
27
|
if (report.getStoragePath() === '') {
|
|
28
|
-
const storagePath =
|
|
28
|
+
const storagePath = `reports/${item.siteId}/${item.reportType}/${report.getId()}/`;
|
|
29
29
|
report.setStoragePath(storagePath);
|
|
30
30
|
await report.save();
|
|
31
31
|
}
|