Add the update method

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

View File

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