move files (#125)

This commit is contained in:
Silvan
2020-05-19 10:12:37 +02:00
committed by GitHub
parent f14d4cc655
commit c365a98cc8
6 changed files with 55 additions and 126 deletions

View File

@@ -31,7 +31,7 @@ type EsRepository struct {
eventstore.ProjectRepo
eventstore.UserRepo
eventstore.UserGrantRepo
PolicyRepo
eventstore.PolicyRepo
}
func Start(conf Config, systemDefaults sd.SystemDefaults) (*EsRepository, error) {
@@ -88,7 +88,7 @@ func Start(conf Config, systemDefaults sd.SystemDefaults) (*EsRepository, error)
ProjectRepo: eventstore.ProjectRepo{conf.SearchLimit, project, view},
UserRepo: eventstore.UserRepo{conf.SearchLimit, user, view},
UserGrantRepo: eventstore.UserGrantRepo{conf.SearchLimit, usergrant, view},
PolicyRepo: PolicyRepo{policy},
PolicyRepo: eventstore.PolicyRepo{policy},
}, nil
}