mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
well this causes it to properly not work, now to just get the cert working
This commit is contained in:
Vendored
+3
-3
@@ -75,7 +75,7 @@ namespace StellaBellum {
|
||||
if (!key.empty() &&
|
||||
responseData.count(key) == 0) // only alow one of a given key for now, unless we support nesting later
|
||||
{
|
||||
this->requestData[key] = value;
|
||||
requestData[key] = value;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -84,8 +84,8 @@ namespace StellaBellum {
|
||||
|
||||
// get json response slot
|
||||
template<typename T> T getNullableValue(const std::string &slot) {
|
||||
if (!this->responseData.empty() && !slot.empty() && responseData.count(slot)) {
|
||||
return this->responseData[slot].get<T>();
|
||||
if (!responseData.empty() && !slot.empty() && responseData.count(slot)) {
|
||||
return responseData[slot].get<T>();
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user