mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
fix(be): sql query for schedule updating
This commit is contained in:
parent
9c5c155f99
commit
46a9b5103c
@ -39,7 +39,7 @@ func (d *SqlDb) UpdateSchedule(schedule db.Schedule) error {
|
||||
_, err := d.exec("update project__schedule set "+
|
||||
"cron_format=?, "+
|
||||
"repository_id=?, "+
|
||||
"last_commit_hash = NULL ",
|
||||
"last_commit_hash = NULL "+
|
||||
"where project_id=? and id=?",
|
||||
schedule.CronFormat,
|
||||
schedule.RepositoryID,
|
||||
|
Loading…
Reference in New Issue
Block a user