Delete env with API
This commit is contained in:
parent
a6e1707c59
commit
bdd9206c92
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user