Add the update method
This commit is contained in:
parent
a95cf4a436
commit
a6e1707c59
@ -136,6 +136,9 @@ func (env *Environemnt) Update(ctx context.Context) error {
|
||||
Controller: env.Controller,
|
||||
UserID: env.UserID,
|
||||
Token: env.Token,
|
||||
Data: &EnvironemntData{
|
||||
Name: env.Data.Name,
|
||||
},
|
||||
}
|
||||
|
||||
if err := oldEnv.Get(ctx); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user