Check for the existence of display_tags

This commit is contained in:
blankie 2023-04-08 23:34:55 +07:00
parent 8a11873dfe
commit 6e53c7a8e9
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ void from_json(const nlohmann::json& j, Illust& illust) {
if (!comment_html.empty()) {
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")) {