@lenne.tech/nest-server 8.6.23 → 8.6.24

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": "@lenne.tech/nest-server",
3
- "version": "8.6.23",
3
+ "version": "8.6.24",
4
4
  "description": "Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).",
5
5
  "keywords": [
6
6
  "node",
@@ -171,7 +171,9 @@ export async function prepareOutput<T = { [key: string]: any; map: (...args: any
171
171
 
172
172
  // Process array
173
173
  if (Array.isArray(output)) {
174
- const processedArray = output.map(async (item) => await prepareOutput(item, options)) as any;
174
+ const processedArray = output.map(async (item, index) => {
175
+ output[index] = await prepareOutput(item, options);
176
+ }) as any;
175
177
  return config.getNewArray ? processedArray : output;
176
178
  }
177
179