Merge pull request #2097 from nasa/matching-historical-states

use correct duration for historical states
This commit is contained in:
Deep Tailor 2018-07-03 12:47:15 -07:00 committed by GitHub
commit da0ed95662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ define([
var data = [];
while (start <= end && data.length < 5000) {
data.push(pointForTimestamp(start, duration, domainObject.name));
start += 5000;
start += duration;
}
return Promise.resolve(data);
};