diff --git a/layouts/main.moon b/layouts/main.moon index 1c0bacc..024feed 100644 --- a/layouts/main.moon +++ b/layouts/main.moon @@ -1,7 +1,6 @@ import Widget from require "lapis.html" csrf = require "lapis.csrf" -config = require("lapis.config").get! class extends Widget content: => diff --git a/views/docs/v1.moon b/views/docs/v1.moon index d12212b..8686202 100644 --- a/views/docs/v1.moon +++ b/views/docs/v1.moon @@ -135,7 +135,7 @@ class Docs_1 extends Widget text " string with valid authorization and a new task item will be returned. Here's an example response:" blockquote -> - code '{ "success": true, "task": { "id": 4, "user_id": 2, "content": "Get a new API key.", "done": false, "created_at": "2018-04-25 04:27:47", "updated_at": "2018-04-25 04:27:47" } }' + code style: "white-space: normal;", '{ "success": true,\n "task": { "id": 4, "user_id": 2, "content": "Get a new API key.", "done": false, "created_at": "2018-04-25 04:27:47", "updated_at": "2018-04-25 04:27:47" } \n}' p -> text "This same format is used to return any task, whether it is as a response to these simple queries, or as part of an array returned by "