mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Fixed issue with invalid time being sent when logging
This commit is contained in:
parent
fce3badd1d
commit
06a5d0970c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ void UserActivityLogger::logAction(QString action, QJsonObject details, JSONCall
|
|||
// Log the local-time that this event was logged
|
||||
QHttpPart elapsedPart;
|
||||
elapsedPart.setHeader(QNetworkRequest::ContentDispositionHeader, "form-data; name=\"elapsed_ms\"");
|
||||
elapsedPart.setBody(QByteArray().append(_timer.elapsed()));
|
||||
elapsedPart.setBody(QString::number(_timer.elapsed()).toLocal8Bit());
|
||||
multipart->append(elapsedPart);
|
||||
|
||||
// If there are action details, add them to the multipart
|
||||
|
|
Loading…
Reference in a new issue