diff --git a/frontend/services/application/member/memberApplicationService.ts b/frontend/services/application/member/memberApplicationService.ts index f3466173..2b4317b4 100644 --- a/frontend/services/application/member/memberApplicationService.ts +++ b/frontend/services/application/member/memberApplicationService.ts @@ -41,6 +41,6 @@ export class MemberApplicationService { public async isProjectAdmin(projectId: string, userId: number): Promise { const items = await this.repository.list(projectId) - return items.some((item) => item.id === userId && item.isProjectAdmin) + return items.some((item) => item.user === userId && item.isProjectAdmin) } }