Add back zip_path for backward compatibility

This commit is contained in:
Alex Ling 2022-05-22 02:48:06 +00:00
parent 238539c27d
commit 648cdd772c

View File

@ -28,6 +28,8 @@ abstract class Entry
if err_msg
json.field "err_msg", err_msg
end
# for API backward compatability
json.field "zip_path", path
json.field "title_id", @book.id
json.field "title_title", @book.title
json.field "sort_title", sort_title