diff --git a/YACReaderLibrary/server/yacreader_server_data_helper.cpp b/YACReaderLibrary/server/yacreader_server_data_helper.cpp index 18bd9017..5952cf80 100644 --- a/YACReaderLibrary/server/yacreader_server_data_helper.cpp +++ b/YACReaderLibrary/server/yacreader_server_data_helper.cpp @@ -113,6 +113,9 @@ QJsonObject YACReaderServerDataHelper::fullComicToJSON(const qulonglong libraryI json["main_character_or_team"] = comic.info.mainCharacterOrTeam.toString(); json["review"] = comic.info.review.toString(); json["tags"] = comic.info.tags.toString(); + auto type = comic.info.type.value(); + json["manga"] = type == YACReader::FileType::Manga; // legacy, kept for compatibility with old clients + json["file_type"] = comic.info.type.toInt(); // 9.13 return json; }