Include hosts when returning services
parent
fd4032928e
commit
b0012d6f36
|
@ -24,7 +24,8 @@ module ServiceServlet
|
|||
begin
|
||||
opts = params.symbolize_keys
|
||||
data = get_db.services(opts)
|
||||
set_json_response(data)
|
||||
includes = [:host]
|
||||
set_json_response(data, includes)
|
||||
rescue Exception => e
|
||||
set_error_on_response(e)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue