summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2019-03-23 11:18:27 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2019-04-27 09:22:58 +0200
commit01a93f0c26c2bfeea4f71eea74dfb86ffb86784d (patch)
tree9fc6ba59b3fb09672d52d7b419237f4624b5bed9
parentc4af102af9ae4fa42a1c63b5f2099d711bf4fb82 (diff)
downloadbrokentalents-01a93f0c26c2bfeea4f71eea74dfb86ffb86784d.tar.gz
brokentalents-01a93f0c26c2bfeea4f71eea74dfb86ffb86784d.zip
Roll frontend back to 4.0 because API is unstable
This reverts commit 6fac2335f6489c2b19a2f16a78f92244cd3de504.
-rw-r--r--src/ReportService.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ReportService.js b/src/ReportService.js
index 25a0792..79739e6 100644
--- a/src/ReportService.js
+++ b/src/ReportService.js
@@ -1,5 +1,5 @@
import * as maps from './maps/maps';
-import * as metadata from '../data/b0051a1f/metadata.json';
+import * as metadata from '../data/55606a1e/metadata.json';
import * as baseStats from '../data/vainglory.json'; // Thanks to https://github.com/oberocks/vainglory-base-stats
import * as R from 'ramda';
@@ -7,7 +7,7 @@ const POPULAR_THRESHOLD = 1.0; // percent
const PICKS_THRESHOLD = 300; // picks
const VARIANCE_THRESHOLD = 0.25; // % minimum accuracy
-const report = require('../data/b0051a1f/report.json')
+const report = require('../data/55606a1e/report.json')
.filter((entry) => entry.Actor != undefined); // bad data from API downtime
const reports = new Map();