Fanbox API: fix typo

This commit is contained in:
2022-06-24 05:00:55 +00:00
committed by GitHub
parent 0da51a4ddd
commit 5bba7d2c2e

View File

@@ -106,7 +106,7 @@ impl FanboxClient {
return false;
}
let value = data.as_ref().unwrap();
match value["user"]["isLoggedIn"].as_bool() {
match value["urlContext"]["user"]["isLoggedIn"].as_bool() {
Some(b) => b,
None => false,
}