diff --git a/apps/server-asset-sg/src/features/workgroups/workgroup-simple.repo.ts b/apps/server-asset-sg/src/features/workgroups/workgroup-simple.repo.ts index a15aa921..e5667206 100644 --- a/apps/server-asset-sg/src/features/workgroups/workgroup-simple.repo.ts +++ b/apps/server-asset-sg/src/features/workgroups/workgroup-simple.repo.ts @@ -59,6 +59,7 @@ const parse = (data: SelectedWorkgroup, isAdmin: boolean, isAnonymousMode = fals if (data.users.length !== 0) { simpleWorkgroup.role = data.users[0].role; + return simpleWorkgroup; } if (isAdmin) {