summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 74e0d66..9b4b146 100644
--- a/worker.js
+++ b/worker.js
@@ -226,7 +226,8 @@ function flatten(obj) {
// map items: names/id -> name -> db
let itms = [],
item_use = (arr, action) =>
- arr.map((item) => { return {
+ arr.map((item, idx) => { return {
+ number: idx,
participant_api_id: participant.id,
item_id: item_db_map[item_name_map[item]],
action: action