Check for the existence of display_tags
This commit is contained in:
parent
8a11873dfe
commit
6e53c7a8e9
|
@ -107,7 +107,7 @@ void from_json(const nlohmann::json& j, Illust& illust) {
|
||||||
if (!comment_html.empty()) {
|
if (!comment_html.empty()) {
|
||||||
illust.comment_html = std::move(comment_html);
|
illust.comment_html = std::move(comment_html);
|
||||||
}
|
}
|
||||||
illust_details["display_tags"].get_to(illust.tags);
|
illust_details.at("display_tags").get_to(illust.tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (illust_details.contains("manga_a")) {
|
if (illust_details.contains("manga_a")) {
|
||||||
|
|
Loading…
Reference in New Issue