Skip to content

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

Add the missing activity level when updating the role to fix the issue

天舟31069b162f71
diff --git a/server/member.go b/server/member.go
index 718c311bdb..753e41c7c4 100644
--- a/server/member.go
+++ b/server/member.go
@@ -157,6 +157,7 @@ func (s *Server) registerMemberRoutes(g *echo.Group) {
CreatorId: c.Get(GetPrincipalIdContextKey()).(int),
ContainerId: updatedMember.ID,
Type: api.ActivityMemberRoleUpdate,
+ Level: api.ACTIVITY_INFO,
Payload: string(bytes),
})
if err != nil {