Fix this.ping()

This commit is contained in:
2022-08-29 00:13:33 +02:00
parent e8fe008e99
commit 01a7bed1c9

View File

@ -328,7 +328,7 @@ export class Session {
'data': data 'data': data
})); }));
if (cb === null) { if (cb === undefined) {
const responseData = await response; const responseData = await response;
const endTime = performance.now(); const endTime = performance.now();
responseData.duration = endTime - startTime; responseData.duration = endTime - startTime;