From d855ec248d894d375bb3f3ab1e560acf24a1b17a Mon Sep 17 00:00:00 2001 From: 4sterisk <4sterisk@ymail.ne.jp> Date: Tue, 24 Dec 2024 17:27:03 +0900 Subject: [PATCH] =?UTF-8?q?fix(backend):=20=E3=82=A2=E3=83=97=E3=83=AA?= =?UTF-8?q?=E4=BD=9C=E6=88=90=E6=96=B9=E5=BC=8F=E3=81=A7=E4=BD=9C=E6=88=90?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=83=88=E3=83=BC=E3=82=AF=E3=83=B3=E3=81=AE?= =?UTF-8?q?=E6=A8=A9=E9=99=90=E3=82=92=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/server/api/endpoints/i/apps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/i/apps.ts b/packages/backend/src/server/api/endpoints/i/apps.ts index 91c8597b1bd2..055b5cc061d1 100644 --- a/packages/backend/src/server/api/endpoints/i/apps.ts +++ b/packages/backend/src/server/api/endpoints/i/apps.ts @@ -87,7 +87,7 @@ export default class extends Endpoint { // eslint- name: token.name ?? token.app?.name, createdAt: this.idService.parse(token.id).date.toISOString(), lastUsedAt: token.lastUsedAt?.toISOString(), - permission: token.permission, + permission: token.app ? token.app.permission : token.permission, }))); }); }