mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 23:12:16 +02:00
Update collectHifiStats.js
Clears the current batch after we send it to the endpoint.
This commit is contained in:
parent
a820682816
commit
b254353b38
1 changed files with 2 additions and 1 deletions
|
@ -90,4 +90,5 @@ function sendBatchToEndpoint(batch) {
|
|||
var req = new XMLHttpRequest();
|
||||
req.open("POST", ENDPOINT_URL, false);
|
||||
req.send(JSON.stringify(batch));
|
||||
}
|
||||
batch = [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue