# Pastebin orKcHZ6Y const workRelations = ['defaultAlias.language', 'languageSet.languages', 'disambiguation', 'workType']; const workError = 'Work not found'; router.get('/:bbid', makeEntityLoader('Work', workRelations, workError), async (req, res, next) => { const workBasicInfo = await getWorkBasicInfo(res.locals.entity); res.status(200).send(workBasicInfo); next(); });