From c71d5f2994a788200831242532240485b70753d6 Mon Sep 17 00:00:00 2001 From: Brian Zoetewey Date: Mon, 25 Nov 2024 10:32:50 -0500 Subject: [PATCH] Project type can't be updated. --- db/sql/project.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }