From aa72a2c73b9a7f8e70d47268432eabe26a14a600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Veiga?= Date: Mon, 6 Jun 2022 18:47:28 -0300 Subject: [PATCH] Rename role to userRole --- src/auth/types/refresh-token-payload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/types/refresh-token-payload.ts b/src/auth/types/refresh-token-payload.ts index 2813753..3af393c 100644 --- a/src/auth/types/refresh-token-payload.ts +++ b/src/auth/types/refresh-token-payload.ts @@ -8,7 +8,7 @@ export type RefreshTokenPayload = { /** User role * @example "user" */ - role: string; + userRole: string; /** Token family for refresh token rotation *