diff 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
line wrap: on
line diff
--- a/src/services/anilist.cpp	Tue Oct 03 05:00:08 2023 -0400
+++ b/src/services/anilist.cpp	Tue Oct 03 06:12:43 2023 -0400
@@ -345,7 +345,7 @@
 	    {"query", query}
     };
 	auto ret = nlohmann::json::parse(SendRequest(json.dump()));
-	ParseUser(json["Viewer"]);
+	ParseUser(ret["data"]["Viewer"]);
 	return true;
 }