summaryrefslogtreecommitdiffstats
path: root/src/web_service/telemetry_json.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-24 03:09:34 +0200
committerbunnei <bunneidev@gmail.com>2017-08-26 05:10:02 +0200
commit04bd0c957e583a518121626deb029f214cc98cf6 (patch)
tree5fa503204b059f95add63b40494b359c51de3422 /src/web_service/telemetry_json.cpp
parentqt: Add an option to view/regenerate telemetry ID. (diff)
downloadyuzu-04bd0c957e583a518121626deb029f214cc98cf6.tar
yuzu-04bd0c957e583a518121626deb029f214cc98cf6.tar.gz
yuzu-04bd0c957e583a518121626deb029f214cc98cf6.tar.bz2
yuzu-04bd0c957e583a518121626deb029f214cc98cf6.tar.lz
yuzu-04bd0c957e583a518121626deb029f214cc98cf6.tar.xz
yuzu-04bd0c957e583a518121626deb029f214cc98cf6.tar.zst
yuzu-04bd0c957e583a518121626deb029f214cc98cf6.zip
Diffstat (limited to 'src/web_service/telemetry_json.cpp')
-rw-r--r--src/web_service/telemetry_json.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web_service/telemetry_json.cpp b/src/web_service/telemetry_json.cpp
index a2d007e77..6ad2ffcd4 100644
--- a/src/web_service/telemetry_json.cpp
+++ b/src/web_service/telemetry_json.cpp
@@ -3,7 +3,6 @@
// Refer to the license.txt file included.
#include "common/assert.h"
-#include "core/settings.h"
#include "web_service/telemetry_json.h"
#include "web_service/web_backend.h"
@@ -81,7 +80,7 @@ void TelemetryJson::Complete() {
SerializeSection(Telemetry::FieldType::UserFeedback, "UserFeedback");
SerializeSection(Telemetry::FieldType::UserConfig, "UserConfig");
SerializeSection(Telemetry::FieldType::UserSystem, "UserSystem");
- PostJson(Settings::values.telemetry_endpoint_url, TopSection().dump());
+ PostJson(endpoint_url, TopSection().dump(), true, username, token);
}
} // namespace WebService