fix(core): update

This commit is contained in:
2021-04-13 13:05:47 +00:00
parent 6350088d2a
commit a8f4ecf98f
3 changed files with 8 additions and 2 deletions

View File

@ -37,8 +37,8 @@ export class SmartNetwork {
* get network speed
* @param measurementTime
*/
public async getSpeed(measurementTime = 5000): Promise<ISpeedtestData> {
const test = await plugins.speedtestNet({ maxTime: measurementTime, acceptGdpr: true });
public async getSpeed() {
const test = await plugins.speedtestNet({ acceptGdpr: true, acceptLicense: true });
return test;
}