mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-15 00:57:36 +00:00
fix: migration, key rotation and org event reducing (#1403)
* fix: migration, key rotation and org event reducing * fix oidc app * pointer receiver name
This commit is contained in:
@@ -3,9 +3,11 @@ package view
|
||||
import (
|
||||
"github.com/caos/zitadel/internal/eventstore"
|
||||
"github.com/caos/zitadel/internal/repository/iam"
|
||||
"github.com/caos/zitadel/internal/repository/keypair"
|
||||
)
|
||||
|
||||
func KeyPairQuery(latestSequence uint64) *eventstore.SearchQueryBuilder {
|
||||
return eventstore.NewSearchQueryBuilder(eventstore.ColumnsEvent, iam.AggregateType).
|
||||
SequenceGreater(latestSequence)
|
||||
SequenceGreater(latestSequence).
|
||||
EventTypes(keypair.AddedEventType)
|
||||
}
|
||||
|
Reference in New Issue
Block a user