Skip to content

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

fix: filter user in logging service (#6723)

ecmadaof4a33cee0829
diff --git a/backend/api/v1/logging_service.go b/backend/api/v1/logging_service.go
index 9e199450cd..b15bb41892 100644
--- a/backend/api/v1/logging_service.go
+++ b/backend/api/v1/logging_service.go
@@ -127,7 +127,8 @@ func (s *LoggingService) ListLogs(ctx context.Context, request *v1pb.ListLogsReq
return nil, status.Errorf(codes.InvalidArgument, "invalid empty creator identifier")
}
user, err := s.store.GetUser(ctx, &store.FindUserMessage{
- Email: &creatorEmail,
+ Email: &creatorEmail,
+ ShowDeleted: true,
})
if err != nil {
return nil, status.Errorf(codes.Internal, `failed to find user "%s" with error: %v`, creatorEmail, err.Error())