From c844837aecd7fe1904a7b16bc459defe089ad220 Mon Sep 17 00:00:00 2001 From: "oura.a" Date: Mon, 23 Oct 2023 06:53:23 +0000 Subject: [PATCH] Merged PR 514: Revert "Merge branch 'develop' into main" Revert "Merge branch 'develop' into main" Reverted commit `463b372c`. --- dictation_server/src/features/auth/auth.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dictation_server/src/features/auth/auth.service.ts b/dictation_server/src/features/auth/auth.service.ts index ca0b032..1454960 100644 --- a/dictation_server/src/features/auth/auth.service.ts +++ b/dictation_server/src/features/auth/auth.service.ts @@ -142,8 +142,8 @@ export class AuthService { { //ユーザーの属しているアカウントの管理者にユーザーが設定されていればadminをセットする role: `${role} ${ - user.account.primary_admin_user_id == user.id || - user.account.secondary_admin_user_id == user.id + user.account.primary_admin_user_id === user.id || + user.account.secondary_admin_user_id === user.id ? ADMIN_ROLES.ADMIN : ADMIN_ROLES.STANDARD }`,