We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c0d07 commit 7416502Copy full SHA for 7416502
lib/helpers.rb
@@ -26,6 +26,8 @@ def to_json(book, url: :relative)
26
'link': "#{url_prefix}#{book.path}",
27
'rating': book[:rating] || 0,
28
'read_date': read_date,
29
+ 'priority': book[:priority],
30
+ 'ongoing': book[:ongoing] || false,
31
'favorite': book[:favorite] || false,
32
'cover': "#{url_prefix}#{cover_path}" || '',
33
'cover_mini': "#{url_prefix}#{cover_mini_path}" || '',
0 commit comments