@openinc/parse-server-opendash 2.4.70 → 2.4.71

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.
@@ -213,9 +213,9 @@ async function createValueArrayForObject(object, extraValues, fields) {
213
213
  const values = [];
214
214
  const status = object.get("status");
215
215
  const ordernr = object.get("ordernr");
216
- const articleData = await object.get("article")?.fetch();
217
- const article = articleData?.get("name");
218
- const articlenr = articleData?.get("artnr");
216
+ // const articleData = await object.get("article")?.fetch();
217
+ const article = object?.get("articlename");
218
+ const articlenr = object?.get("articlenr");
219
219
  const setup_time = object.get("setup_time");
220
220
  const duration = object.get("duration");
221
221
  const order_quantity = object.get("order_quantity");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "2.4.70",
3
+ "version": "2.4.71",
4
4
  "description": "Parse Server Cloud Code for open.DASH",
5
5
  "keywords": [
6
6
  "parse",