mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
fixes
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@ webAPIHeartbeat::webAPIHeartbeat() {
|
||||
std::string(vxENCRYPT("StellaBellum WebAPI Metrics Sender").decrypt()));
|
||||
api.addJsonData<std::string>(std::string(vxENCRYPT("type").decrypt()), std::string(vxENCRYPT("server").decrypt()));
|
||||
|
||||
if (found) {
|
||||
api.addJsonData<std::string>(std::string(vxENCRYPT("process").decrypt()), filePath.substr(found + 1));
|
||||
if (!filePath.empty()) {
|
||||
api.addJsonData<std::string>(std::string(vxENCRYPT("process").decrypt()), filePath.c_str());
|
||||
}
|
||||
|
||||
bool result = api.submit();
|
||||
|
||||
Reference in New Issue
Block a user