summaryrefslogtreecommitdiff
path: root/src/web_service/telemetry_json.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-08-22 19:23:22 -0400
committerGravatar Lioncash2020-08-22 19:29:54 -0400
commitca5ed50655b744ae4d3242b2105676a43d1482e0 (patch)
treeac342b98c89c4a15d536e8e1e98ea9f753154e32 /src/web_service/telemetry_json.cpp
parentMerge pull request #4546 from lioncash/telemetry (diff)
downloadyuzu-ca5ed50655b744ae4d3242b2105676a43d1482e0.tar.gz
yuzu-ca5ed50655b744ae4d3242b2105676a43d1482e0.tar.xz
yuzu-ca5ed50655b744ae4d3242b2105676a43d1482e0.zip
web_service: Move web_result.h into web_service
This is the only place it's actively used. It's also more appropriate for web-related structures to be within the web service target. Especially given this one doesn't rely on anything in the common library.
Diffstat (limited to 'src/web_service/telemetry_json.cpp')
-rw-r--r--src/web_service/telemetry_json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web_service/telemetry_json.cpp b/src/web_service/telemetry_json.cpp
index c89a3a0db..6215c914f 100644
--- a/src/web_service/telemetry_json.cpp
+++ b/src/web_service/telemetry_json.cpp
@@ -4,9 +4,9 @@
4 4
5#include <nlohmann/json.hpp> 5#include <nlohmann/json.hpp>
6#include "common/detached_tasks.h" 6#include "common/detached_tasks.h"
7#include "common/web_result.h"
8#include "web_service/telemetry_json.h" 7#include "web_service/telemetry_json.h"
9#include "web_service/web_backend.h" 8#include "web_service/web_backend.h"
9#include "web_service/web_result.h"
10 10
11namespace WebService { 11namespace WebService {
12 12
@@ -125,7 +125,7 @@ bool TelemetryJson::SubmitTestcase() {
125 Client client(impl->host, impl->username, impl->token); 125 Client client(impl->host, impl->username, impl->token);
126 auto value = client.PostJson("/gamedb/testcase", content, false); 126 auto value = client.PostJson("/gamedb/testcase", content, false);
127 127
128 return value.result_code == Common::WebResult::Code::Success; 128 return value.result_code == WebResult::Code::Success;
129} 129}
130 130
131} // namespace WebService 131} // namespace WebService