Skip to content

Commit c65edc3

Browse files
committed
fix(me-overview): show static text properly
Signed-off-by: Jayne Doe <[email protected]>
1 parent 04ccca1 commit c65edc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/journey/hobbies/me/generate_overview.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ const markdown = require('markdown-it')();
2929
const staticHandlerInstance = require('../../../lib/StaticHandler').getHandler();
3030
const StaticDocumentTypes = require('../../../lib/StaticDocumentTypes');
3131

32-
const generateOverview = (req, res, next) => {
32+
const generateOverview = async (req, res, next) => {
3333
try {
34-
const staticContent = staticHandlerInstance.findStatic(StaticDocumentTypes.KNOWING_ME);
34+
const staticContent = await staticHandlerInstance.findStatic(StaticDocumentTypes.KNOWING_ME);
3535
res.contentType = 'text/html';
3636
res.header('content-type', 'text/html');
3737
res.send(200, renderer.render('pages/me/me_index.njk', {

0 commit comments

Comments
 (0)