Skip to content

Commit

Permalink
fix: update naming and save only time & key
Browse files Browse the repository at this point in the history
  • Loading branch information
Antosik committed Aug 25, 2024
1 parent 49a4a2a commit cac8c41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion processors/parseSchema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export default {
randomed: false,
repicked: false,
pred_vict: false,
neutral_token: [],
neutral_tokens_log: [],
})),
};
3 changes: 2 additions & 1 deletion processors/populate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ function populate(e, container, meta) {
} else if (
e.type === 'purchase_log' ||
e.type === 'kills_log' ||
e.type === 'runes_log'
e.type === 'runes_log' ||
e.type === 'neutral_tokens_log'
) {
arrEntry = {
time: e.time,
Expand Down
5 changes: 4 additions & 1 deletion processors/processExpand.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,10 @@ function processExpand(entries, meta) {
expand(e);
},
neutral_token(e) {
expand(e);
expand({
...e,
type: 'neutral_tokens_log',
});
},
};
for (let i = 0; i < entries.length; i += 1) {
Expand Down

0 comments on commit cac8c41

Please sign in to comment.