godprotocol 2.3.50 → 2.3.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "2.3.50",
3
+ "version": "2.3.51",
4
4
  "description": "A distributed computing environment for Web 4.0 — integrating AI, decentralisation, and virtual computation.",
5
5
  "main": "Index.js",
6
6
  "type": "module",
@@ -239,6 +239,7 @@ const version_middleware = async (req, res, routers) => {
239
239
  if (callback?.route) name = callback.route;
240
240
 
241
241
  // EXECUTE
242
+
242
243
  error_stage = "Handler";
243
244
  let payload = {
244
245
  body,
@@ -264,7 +265,7 @@ const version_middleware = async (req, res, routers) => {
264
265
  req,
265
266
  result,
266
267
  version,
267
- route: name,
268
+ route: payload.route_pattern || name,
268
269
  db: db.db,
269
270
  },
270
271
  router.gp,