@conboai/app.db.query 0.4.91 → 0.4.92

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.
@@ -1665,11 +1665,15 @@ const x7 = {
1665
1665
  })),
1666
1666
  getSitesFeeds: async ({ deploymentId: t }) => {
1667
1667
  try {
1668
- const n = await YS.queryInfoControllerGetAssignedFeedsByDeployment(
1668
+ const r = (await YS.queryInfoControllerGetAssignedFeedsByDeployment(
1669
1669
  t
1670
- );
1670
+ )).map((o) => ({
1671
+ ...o,
1672
+ name: o.feed_name,
1673
+ id: o.assigned_feed_id
1674
+ }));
1671
1675
  e(() => ({
1672
- newFeeds: n
1676
+ newFeeds: r
1673
1677
  }));
1674
1678
  } catch (n) {
1675
1679
  console.log(n);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.4.91",
3
+ "version": "0.4.92",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",