From 393a591485263219c3723fbf85e703a6685e7e34 Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 9 Apr 2026 03:18:16 -0300 Subject: [PATCH] style: misc changes --- format-code.bat | 1 + src/unlocker/spoofing.cpp | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/format-code.bat b/format-code.bat index aec5457..1d2782f 100644 --- a/format-code.bat +++ b/format-code.bat @@ -8,3 +8,4 @@ for /r "src" %%f in (*.cpp *.h *.cs) do ( echo done pause + \ No newline at end of file diff --git a/src/unlocker/spoofing.cpp b/src/unlocker/spoofing.cpp index ff111f4..73077f2 100644 --- a/src/unlocker/spoofing.cpp +++ b/src/unlocker/spoofing.cpp @@ -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";