diff --git a/app/models/promise.rb b/app/models/promise.rb index aa641ec9..ba5b9fc2 100644 --- a/app/models/promise.rb +++ b/app/models/promise.rb @@ -106,7 +106,7 @@ def future? end def as_indexed_json(options = nil) - as_json only: :body, methods: [ + as_json only: [:body, :id], methods: [ :party_names, :parliament_period_name, :promisor_name,