Skip to content

Commit 2d4ca23

Browse files
Kobo: include PriorityTimestamp in PUT /state response
Kobo: include PriorityTimestamp in PUT /state response
1 parent 6157f50 commit 2d4ca23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cps/kobo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,8 @@ def HandleStateRequest(book_uuid):
811811

812812
ub.session.merge(kobo_reading_state)
813813
ub.session_commit()
814+
update_results_response["LastModified"] = convert_to_kobo_timestamp_string(kobo_reading_state.last_modified)
815+
update_results_response["PriorityTimestamp"] = convert_to_kobo_timestamp_string(kobo_reading_state.priority_timestamp)
814816
return jsonify({
815817
"RequestResult": "Success",
816818
"UpdateResults": [update_results_response],

0 commit comments

Comments
 (0)