From 4b2cd3e1948080134b1d601368f3d65381e0edb1 Mon Sep 17 00:00:00 2001 From: Leticia Dias Date: Mon, 11 Aug 2025 22:39:47 -0300 Subject: [PATCH 1/2] fix(config): fixed jwt secret --- src/modules/config/jwt-secret.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'; From 53699742e4ba1938aaf8533a46bd9a8c960a1ee9 Mon Sep 17 00:00:00 2001 From: Leticia Dias Date: Mon, 11 Aug 2025 22:41:56 -0300 Subject: [PATCH 2/2] refactor(posts): renamed function --- src/modules/posts/posts.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }