Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushik-rishi committed May 7, 2024
1 parent 53ad16c commit b780a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/src/api/routes/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function routeCode(channel, isSpecV3) {
const channelName = channel.id();
const generalImport = `
const Router = require('hermesjs/lib/router');
${isSpecV3 ? "": "const { validateMessage } = require('../../lib/message-validator');"}
${isSpecV3 ? '': 'const { validateMessage } = require(\'../../lib/message-validator\');'}
const router = new Router();
const ${ camelCase(channelName) }Handler = require('../handlers/${convertToFilename(channelName)}');
module.exports = router;
Expand Down

0 comments on commit b780a68

Please sign in to comment.