Add a search string to envs

This commit is contained in:
Nikolai Rodionov 2024-05-05 21:12:56 +02:00
parent e71636896e
commit 638e35b60d
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -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
} }