From 6bf88417d867bce8bc3eca3b52a62f56eee994b9 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 4 Feb 2020 22:48:15 +1100 Subject: [PATCH] fix chat example --- example/chat/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/example/chat/server/server.go b/example/chat/server/server.go index 65077b80e8a..1592f6b0ab5 100644 --- a/example/chat/server/server.go +++ b/example/chat/server/server.go @@ -31,6 +31,7 @@ func main() { srv := handler.New(chat.NewExecutableSchema(chat.New())) + srv.AddTransport(transport.POST{}) srv.AddTransport(transport.Websocket{ KeepAlivePingInterval: 10 * time.Second, Upgrader: websocket.Upgrader{