From c61fb84f5d0da2707b82e23ffd725694dbc525ae Mon Sep 17 00:00:00 2001 From: Artur Poffo Date: Sat, 24 Feb 2024 19:50:54 -0300 Subject: [PATCH] Fix(User presenter): Add role field to user presenter --- src/infra/http/presenters/user-presenter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/infra/http/presenters/user-presenter.ts b/src/infra/http/presenters/user-presenter.ts index cb60612..227fa2b 100644 --- a/src/infra/http/presenters/user-presenter.ts +++ b/src/infra/http/presenters/user-presenter.ts @@ -9,6 +9,7 @@ export class UserPresenter { cpf: user.cpf, age: user.age, summary: user.summary, + role: user.role, profileImageKey: user.profileImageKey, bannerImageKey: user.bannerImageKey, registeredAt: user.registeredAt