mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-21 08:49:11 +00:00
drop owner_removed column on apps and authN tables
This commit is contained in:
@@ -113,7 +113,7 @@ type projectProvider interface {
|
||||
}
|
||||
|
||||
type applicationProvider interface {
|
||||
AppByOIDCClientID(context.Context, string, bool) (*query.App, error)
|
||||
AppByOIDCClientID(context.Context, string) (*query.App, error)
|
||||
}
|
||||
|
||||
type customTextProvider interface {
|
||||
@@ -140,7 +140,7 @@ func (repo *AuthRequestRepo) CreateAuthRequest(ctx context.Context, request *dom
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
appIDs, err := repo.Query.SearchClientIDs(ctx, &query.AppSearchQueries{Queries: []query.SearchQuery{projectIDQuery}}, false)
|
||||
appIDs, err := repo.Query.SearchClientIDs(ctx, &query.AppSearchQueries{Queries: []query.SearchQuery{projectIDQuery}})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1351,7 +1351,7 @@ func (repo *AuthRequestRepo) hasSucceededPage(ctx context.Context, request *doma
|
||||
if _, ok := request.Request.(*domain.AuthRequestOIDC); !ok {
|
||||
return false, nil
|
||||
}
|
||||
app, err := provider.AppByOIDCClientID(ctx, request.ApplicationID, false)
|
||||
app, err := provider.AppByOIDCClientID(ctx, request.ApplicationID)
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
@@ -272,7 +272,7 @@ type mockApp struct {
|
||||
app *query.App
|
||||
}
|
||||
|
||||
func (m *mockApp) AppByOIDCClientID(ctx context.Context, id string, _ bool) (*query.App, error) {
|
||||
func (m *mockApp) AppByOIDCClientID(ctx context.Context, id string) (*query.App, error) {
|
||||
if m.app != nil {
|
||||
return m.app, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user