Add a search string to envs
This commit is contained in:
parent
e71636896e
commit
638e35b60d
@ -191,7 +191,7 @@ func (e *EnvironmentsServer) List(in *proto.ListOptions, stream proto.Environmen
|
|||||||
Token: in.GetToken().GetToken(),
|
Token: in.GetToken().GetToken(),
|
||||||
}
|
}
|
||||||
|
|
||||||
envs, err := environment.ListEnvs(stream.Context())
|
envs, err := environment.ListEnvs(stream.Context(), in.GetSearchString())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user