Delete env with API

This commit is contained in:
2024-04-30 11:34:10 +02:00
parent a6e1707c59
commit bdd9206c92

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
}