embed links on single query

pull/5234/head
Jens Ulferts 8 years ago
parent 205aab63b2
commit 4b342bf69f
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 1
      lib/api/v3/queries/helpers/query_representer_response.rb

@ -40,6 +40,7 @@ module API
QueryRepresenter.new(query,
current_user: current_user,
results: representer.result,
embed_links: true,
params: params)
else
raise ::API::Errors::InvalidQuery.new(representer.errors.full_messages)

Loading…
Cancel
Save