Skip to content

Commit

Permalink
fix: add missing scriptJs and scriptCss to single page resolver (#5689)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrg92 authored Oct 17, 2022
1 parent cf7abea commit db0255c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/graph/resolvers/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit db0255c

Please sign in to comment.