Skip to content

Commit

Permalink
fix(backend): add password to update method
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Dec 25, 2023
1 parent c00f5a1 commit 0f0587d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/sql/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ func (d *SqlDb) UpdateEnvironment(env db.Environment) error {
}

_, err = d.exec(
"update project__environment set name=?, json=?, env=? where id=?",
"update project__environment set name=?, json=?, env=?, password=? where id=?",
env.Name,
env.JSON,
env.ENV,
env.Password,
env.ID)
return err
}
Expand Down

0 comments on commit 0f0587d

Please sign in to comment.