mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
e87fca28e7
* feat: check if zitadel project is changed * feat: check if zitadel project is changed
16 lines
370 B
Go
16 lines
370 B
Go
package eventstore
|
|
|
|
import (
|
|
"context"
|
|
iam_model "github.com/caos/zitadel/internal/iam/model"
|
|
"github.com/caos/zitadel/internal/iam/repository/eventsourcing"
|
|
)
|
|
|
|
type IamRepository struct {
|
|
IamEvents *eventsourcing.IamEventstore
|
|
}
|
|
|
|
func (repo *IamRepository) IamByID(ctx context.Context, id string) (*iam_model.Iam, error) {
|
|
return repo.IamEvents.IamByID(ctx, id)
|
|
}
|