From 1dda3feca0674d1cf122c5f822633b090a97560c Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Tue, 18 Oct 2016 07:20:39 +0000 Subject: [PATCH] this is more proper --- external/3rd/library/webAPI/webAPIHeartbeat.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/external/3rd/library/webAPI/webAPIHeartbeat.cpp b/external/3rd/library/webAPI/webAPIHeartbeat.cpp index 7b12cd94..8ecf5ddc 100644 --- a/external/3rd/library/webAPI/webAPIHeartbeat.cpp +++ b/external/3rd/library/webAPI/webAPIHeartbeat.cpp @@ -9,8 +9,7 @@ using namespace StellaBellum; webAPIHeartbeat::webAPIHeartbeat() { std::string filePath = this->get_selfpath().c_str(); - webAPI api = webAPI::webAPI( - std::string(vxENCRYPT("https://login.stellabellum.net/metric/shoulderTap").decrypt()), + webAPI api(std::string(vxENCRYPT("https://login.stellabellum.net/metric/shoulderTap").decrypt()), std::string(vxENCRYPT("StellaBellum WebAPI Metrics Sender").decrypt())); api.addJsonData(std::string(vxENCRYPT("type").decrypt()), std::string(vxENCRYPT("server").decrypt()));