zitadel/internal/query/user.go

12 lines
317 B
Go
Raw Normal View History

package query
import (
"context"
"github.com/caos/zitadel/internal/eventstore"
)
func (q *Queries) UserEvents(ctx context.Context, orgID, userID string, sequence uint64) ([]eventstore.EventReader, error) {
query := NewUserEventSearchQuery(userID, orgID, sequence)
return q.eventstore.FilterEvents(ctx, query)
}