diff --git a/package.json b/package.json index dad7d7d..8bf6015 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "editor-upgrade": "yarn add -D @editorjs/{editorjs,header,code,delimiter,list,image,table,inline-code,marker}@latest" }, "dependencies": { - "@codexteam/misprints": "^1.0.0", "bcrypt": "^3.0.3", "commander": "^2.19.0", "cookie-parser": "~1.4.3", @@ -68,6 +67,7 @@ "eslint-plugin-standard": "^4.0.0", "highlight.js": "^9.13.1", "husky": "^1.1.2", + "@codexteam/misprints": "^1.0.0", "mini-css-extract-plugin": "^0.4.3", "mocha": "^5.2.0", "mocha-sinon": "^2.1.0", diff --git a/src/views/layout.twig b/src/views/layout.twig index 1d4a5b7..ef6283a 100644 --- a/src/views/layout.twig +++ b/src/views/layout.twig @@ -12,7 +12,7 @@ window.config = { chatId: '' }; - window.config.chatId = Number("{{ config.chatId }}"); + window.config.chatId = "{{ config.chatId }}"; {% include "components/header.twig" with res.locals.isAuthorized %}