@dosgato/api 0.0.121 → 0.0.122

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.
@@ -130,7 +130,7 @@ export async function getAssets(filter, tdb = db) {
130
130
  SELECT assets.id, assets.dataId, assets.name, assets.linkId, assets.folderId, assets.deletedAt, assets.deletedBy, assets.deleteState,
131
131
  binaries.bytes AS filesize, binaries.mime, binaries.shasum, binaries.meta,
132
132
  sites.deletedAt IS NOT NULL OR pagetrees.deletedAt IS NOT NULL as orphaned,
133
- pagetrees.type as pagetreeType, assetfolders.siteId
133
+ pagetrees.type as pagetreeType, assetfolders.siteId, assetfolders.pagetreeId
134
134
  FROM assets
135
135
  INNER JOIN binaries on assets.shasum = binaries.shasum
136
136
  INNER JOIN assetfolders ON assets.folderId = assetfolders.id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/api",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
4
4
  "description": "A CMS designed for large institutions with thousands of editors and hundreds of subsites.",
5
5
  "type": "module",
6
6
  "exports": {