From 4b342bf69f6759b59e2760b79d45df2a356804f9 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Tue, 14 Feb 2017 13:15:54 +0100 Subject: [PATCH] embed links on single query --- lib/api/v3/queries/helpers/query_representer_response.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/api/v3/queries/helpers/query_representer_response.rb b/lib/api/v3/queries/helpers/query_representer_response.rb index c041ba1c00..5715ed25d1 100644 --- a/lib/api/v3/queries/helpers/query_representer_response.rb +++ b/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)