From db0255cb7cd35c7cb8ad256f10723c69a9443478 Mon Sep 17 00:00:00 2001 From: Rodrigo Ribeiro Gomes Date: Mon, 17 Oct 2022 18:11:59 -0300 Subject: [PATCH] fix: add missing scriptJs and scriptCss to single page resolver (#5689) --- server/graph/resolvers/page.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/graph/resolvers/page.js b/server/graph/resolvers/page.js index e356ac0f..15631a18 100644 --- a/server/graph/resolvers/page.js +++ b/server/graph/resolvers/page.js @@ -159,7 +159,9 @@ module.exports = { return { ...page, locale: page.localeCode, - editor: page.editorKey + editor: page.editorKey, + scriptJs: page.extra.js, + scriptCss: page.extra.css } } else { throw new WIKI.Error.PageViewForbidden()