mirror of
https://github.com/janeczku/calibre-web
synced 2026-05-30 01:02:11 +00:00
Kobo: include PriorityTimestamp in PUT /state response
Kobo: include PriorityTimestamp in PUT /state response
This commit is contained in:
@@ -811,6 +811,8 @@ def HandleStateRequest(book_uuid):
|
||||
|
||||
ub.session.merge(kobo_reading_state)
|
||||
ub.session_commit()
|
||||
update_results_response["LastModified"] = convert_to_kobo_timestamp_string(kobo_reading_state.last_modified)
|
||||
update_results_response["PriorityTimestamp"] = convert_to_kobo_timestamp_string(kobo_reading_state.priority_timestamp)
|
||||
return jsonify({
|
||||
"RequestResult": "Success",
|
||||
"UpdateResults": [update_results_response],
|
||||
|
||||
Reference in New Issue
Block a user