mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-10 20:53:41 +00:00
Merge branch 'v2-alpha' into cy10
This commit is contained in:
commit
2a8c66b64d
@ -295,6 +295,7 @@ var (
|
|||||||
func (q *Queries) GetUserByID(ctx context.Context, shouldTriggerBulk bool, userID string, queries ...SearchQuery) (*User, error) {
|
func (q *Queries) GetUserByID(ctx context.Context, shouldTriggerBulk bool, userID string, queries ...SearchQuery) (*User, error) {
|
||||||
if shouldTriggerBulk {
|
if shouldTriggerBulk {
|
||||||
projection.UserProjection.TriggerBulk(ctx)
|
projection.UserProjection.TriggerBulk(ctx)
|
||||||
|
projection.LoginNameProjection.TriggerBulk(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
instanceID := authz.GetInstance(ctx).InstanceID()
|
instanceID := authz.GetInstance(ctx).InstanceID()
|
||||||
@ -317,6 +318,7 @@ func (q *Queries) GetUserByID(ctx context.Context, shouldTriggerBulk bool, userI
|
|||||||
func (q *Queries) GetUser(ctx context.Context, shouldTriggerBulk bool, queries ...SearchQuery) (*User, error) {
|
func (q *Queries) GetUser(ctx context.Context, shouldTriggerBulk bool, queries ...SearchQuery) (*User, error) {
|
||||||
if shouldTriggerBulk {
|
if shouldTriggerBulk {
|
||||||
projection.UserProjection.TriggerBulk(ctx)
|
projection.UserProjection.TriggerBulk(ctx)
|
||||||
|
projection.LoginNameProjection.TriggerBulk(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
instanceID := authz.GetInstance(ctx).InstanceID()
|
instanceID := authz.GetInstance(ctx).InstanceID()
|
||||||
@ -389,6 +391,7 @@ func (q *Queries) GetHumanPhone(ctx context.Context, userID string, queries ...S
|
|||||||
func (q *Queries) GeNotifyUser(ctx context.Context, shouldTriggered bool, userID string, queries ...SearchQuery) (*NotifyUser, error) {
|
func (q *Queries) GeNotifyUser(ctx context.Context, shouldTriggered bool, userID string, queries ...SearchQuery) (*NotifyUser, error) {
|
||||||
if shouldTriggered {
|
if shouldTriggered {
|
||||||
projection.UserProjection.TriggerBulk(ctx)
|
projection.UserProjection.TriggerBulk(ctx)
|
||||||
|
projection.LoginNameProjection.TriggerBulk(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
instanceID := authz.GetInstance(ctx).InstanceID()
|
instanceID := authz.GetInstance(ctx).InstanceID()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user