diff --git a/db/sql/project.go b/db/sql/project.go index 508eb9e3..794926fd 100644 --- a/db/sql/project.go +++ b/db/sql/project.go @@ -110,12 +110,11 @@ func (d *SqlDb) DeleteProject(projectID int) error { func (d *SqlDb) UpdateProject(project db.Project) error { _, err := d.exec( - "update project set name=?, alert=?, alert_chat=?, max_parallel_tasks=?, type=? where id=?", + "update project set name=?, alert=?, alert_chat=?, max_parallel_tasks=? where id=?", project.Name, project.Alert, project.AlertChat, project.MaxParallelTasks, - project.Type, project.ID) return err }