Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 7ee9ed6

Browse files
author
Josh Price
committed
Upgrade GraphiQL to 0.4.9
This introduces the prettify button
1 parent 3cae6a6 commit 7ee9ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/plug/endpoint.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ defmodule GraphQL.Plug.Endpoint do
5555
{:ok, data} = GraphQL.execute(schema, query, root_value, variables, operation_name)
5656
{:ok, variables} = Poison.encode(variables, pretty: true)
5757
{:ok, result} = Poison.encode(data, pretty: true)
58-
graphiql = graphiql_html("0.4.5", escape_newlines(query), escape_newlines(variables), escape_newlines(result))
58+
graphiql = graphiql_html("0.4.9", escape_newlines(query), escape_newlines(variables), escape_newlines(result))
5959
conn
6060
|> put_resp_content_type("text/html")
6161
|> send_resp(200, graphiql)

0 commit comments

Comments
 (0)