fix: proto (#260)

* fix: global search calls

* fix: management proto

* fix: management proto mock

* fix: remove unused request

* fix: add mock file

* fix: remove unused objects

* fix: unique username
This commit is contained in:
Fabi
2020-06-23 10:09:30 +02:00
committed by GitHub
parent 83ff4c8ee6
commit c376b92315
10 changed files with 4279 additions and 5031 deletions

View File

@@ -17,7 +17,7 @@ func (s *Server) GetUserByID(ctx context.Context, id *UserID) (*UserView, error)
return userViewFromModel(user), nil
}
func (s *Server) GetUserByEmailGlobal(ctx context.Context, email *UserEmailID) (*UserView, error) {
func (s *Server) GetUserByEmailGlobal(ctx context.Context, email *Email) (*UserView, error) {
user, err := s.user.GetGlobalUserByEmail(ctx, email.Email)
if err != nil {
return nil, err