diff --git a/src/modules/config/jwt-secret.ts b/src/modules/config/jwt-secret.ts index 500e4ad..eef0a12 100644 --- a/src/modules/config/jwt-secret.ts +++ b/src/modules/config/jwt-secret.ts @@ -1 +1,2 @@ -export const JWT_SECRET = ''; +export const JWT_SECRET = + 'jW4gVXqP0P8aCyjJmZcO4Q5hQ3rR3uAFpN+LtTGBQz9Bx6bnM8XLVmhJpg0FZcHx'; diff --git a/src/modules/posts/posts.controller.ts b/src/modules/posts/posts.controller.ts index b92bed0..33cf5f4 100644 --- a/src/modules/posts/posts.controller.ts +++ b/src/modules/posts/posts.controller.ts @@ -32,7 +32,7 @@ export class PostsController { } @Get(':slug') - async getPostBySlug(@Param('slug') slug: string): Promise { + async findPostBySlug(@Param('slug') slug: string): Promise { return this.postService.findPostBySlug(slug); } }