feat: correct create projectgrant usergrant (#389)

* feat: correct create projectgrant usergrant

* fix: remove orgid in frontend
This commit is contained in:
Fabi
2020-07-08 11:24:34 +02:00
committed by GitHub
parent c621fdee41
commit 5e42ff2bb8
6 changed files with 14034 additions and 13441 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ func (s *Server) ProjectGrantUserGrantByID(ctx context.Context, request *Project
}
func (s *Server) CreateProjectGrantUserGrant(ctx context.Context, in *ProjectGrantUserGrantCreate) (*UserGrant, error) {
user, err := s.usergrant.ChangeUserGrant(ctx, projectGrantUserGrantCreateToModel(in))
user, err := s.usergrant.AddUserGrant(ctx, projectGrantUserGrantCreateToModel(in))
if err != nil {
return nil, err
}