diff --git a/scaffolds/hasura/scaffold.tsx b/scaffolds/hasura/scaffold.tsx index 014a011..3c0c512 100644 --- a/scaffolds/hasura/scaffold.tsx +++ b/scaffolds/hasura/scaffold.tsx @@ -12,10 +12,10 @@ type HasuraData = NpmClientPrompt.Data & jwtSecret: string; }; -const generateJwtSecret = () => { +function generateJwtSecret() { const buffer = crypto.randomBytes(32); return buffer.toString('hex'); -}; +} export default createScaffold( (props) => (