0
0
Fork 0

Remove default assumption as we do that before emitting event

This commit is contained in:
Oliver-Akins 2020-08-14 00:23:30 -06:00
parent 9c0d7e27a3
commit 5859bd05b8

View file

@ -71,7 +71,7 @@ export default {
get_data(config) { get_data(config) {
let url = `${this.api_url}/me/top/${config.type.toLowerCase()}`; let url = `${this.api_url}/me/top/${config.type.toLowerCase()}`;
let limit = config.limit || 10; let limit = config.limit;
url += `?limit=${limit}&time_range=${config.duration}`; url += `?limit=${limit}&time_range=${config.duration}`;