Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: updater should be principal (#501)

Danny Xu097ee45fdf6f
diff --git a/frontend/src/store/modules/member.ts b/frontend/src/store/modules/member.ts
index 2c2365f1a4..d5198d6975 100644
--- a/frontend/src/store/modules/member.ts
+++ b/frontend/src/store/modules/member.ts
@@ -25,8 +25,9 @@ function convert(
.id;
const updaterId = (member.relationships!.updater.data as ResourceIdentifier)
.id;
- const principalId = (member.relationships!.updater.data as ResourceIdentifier)
- .id;
+ const principalId = (
+ member.relationships!.principal.data as ResourceIdentifier
+ ).id;
const principal = getPrincipalFromIncludedList(
principalId,
includedList