Delete env with API

This commit is contained in:
Nikolai Rodionov 2024-04-30 11:34:10 +02:00
parent a6e1707c59
commit bdd9206c92
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -129,7 +129,7 @@ func (e *EnvironmentsServer) Delete(ctx context.Context, in *proto.DeleteOptions
Data: data,
Token: in.GetToken().GetToken(),
}
err := environment.Create(ctx)
err := environment.Delete(ctx)
if err != nil {
return nil, err
}