From a6038e9364fc1eb748152090c5eb86e33f7c1e53 Mon Sep 17 00:00:00 2001 From: Ryan Zidago <46972947+ryanzidago@users.noreply.github.com> Date: Thu, 13 Jan 2022 19:42:30 +0100 Subject: [PATCH] Update ktor.md --- docs/content/Tutorials/ktor.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/Tutorials/ktor.md b/docs/content/Tutorials/ktor.md index aee19386..ea8c063d 100644 --- a/docs/content/Tutorials/ktor.md +++ b/docs/content/Tutorials/ktor.md @@ -46,12 +46,13 @@ Replace `x.x.x` with the latest version [![Maven Central](https://img.shields.io } ``` -The only thing left is installing the GraphQL feature onto our server by opening `src/Application.kt` and add these lines to the `Application.module` function +The only thing left is installing the GraphQL feature onto our server by opening `src/Application.kt` and use these lines as the `Application.module` function === "Application.kt" ```kotlin fun Application.module(testing: Boolean = false) { install(GraphQL) { + configureRouting() playground = true schema { query("hello") {