comparison src/services/anilist.cpp @ 74:5ccb99bfa605

fix regressions on macOS for now, we're setting our font sizes using setPixelSize, and later I'll use a macro or something to make the point size constant across platforms also anilist user id stuff stopped working :) that's fixed now
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 06:12:43 -0400
parents 64e5f427c6a2
children d3e9310598b1
comparison
equal deleted inserted replaced
73:f1fc8b04bc63 74:5ccb99bfa605
343 "}\n"; 343 "}\n";
344 nlohmann::json json = { 344 nlohmann::json json = {
345 {"query", query} 345 {"query", query}
346 }; 346 };
347 auto ret = nlohmann::json::parse(SendRequest(json.dump())); 347 auto ret = nlohmann::json::parse(SendRequest(json.dump()));
348 ParseUser(json["Viewer"]); 348 ParseUser(ret["data"]["Viewer"]);
349 return true; 349 return true;
350 } 350 }
351 351
352 } // namespace AniList 352 } // namespace AniList
353 } // namespace Services 353 } // namespace Services