diff --git a/cps/kobo.py b/cps/kobo.py index aa043503b..7aaa587e3 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -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],