@joystick.js/node-canary 0.0.0-canary.61 → 0.0.0-canary.62
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/dist/app/index.js +3 -1
- package/package.json +1 -1
package/dist/app/index.js
CHANGED
|
@@ -173,7 +173,9 @@ class App {
|
|
|
173
173
|
const browserSafeRequest = getBrowserSafeRequest(req);
|
|
174
174
|
const data = await getDataFromComponent(componentInstance, apiForDataFunctions, browserSafeRequest);
|
|
175
175
|
return res.status(200).send({
|
|
176
|
-
data:
|
|
176
|
+
data: {
|
|
177
|
+
[data?.componentId]: data?.data
|
|
178
|
+
},
|
|
177
179
|
translations: {}
|
|
178
180
|
});
|
|
179
181
|
}
|