style: misc changes
This commit is contained in:
@@ -338,7 +338,7 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
||||
|
||||
if (url.find("api/v1/extensions/store/getCatalogItems") != std::string::npos) return parseAndDumpCatalog(body);
|
||||
|
||||
if (url.find("/api/v1/messages/listV2") != std::string::npos)
|
||||
if (url.find("api/v1/messages/listV2") != std::string::npos)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -382,9 +382,8 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
||||
|
||||
bodyContent["sections"].push_back(
|
||||
{{"type", "itemshowcase"},
|
||||
{"rewards", json::array({
|
||||
{{"type", "inventory"}, {"id", "ADDON_flashlight_oddbulb"}, {"amount", 1}}
|
||||
})}});
|
||||
{"rewards",
|
||||
json::array({{{"type", "inventory"}, {"id", "ADDON_flashlight_oddbulb"}, {"amount", 1}}})}});
|
||||
|
||||
msg["message"] = {};
|
||||
msg["message"]["title"] = "Japan is turning footsteps into electricity";
|
||||
|
||||
Reference in New Issue
Block a user