mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(be): schedule query
This commit is contained in:
parent
da99bfb842
commit
5b6bd552a5
@ -37,8 +37,8 @@ func (d *SqlDb) SetScheduleLastCommitHash(projectID int, scheduleID int, lastCom
|
||||
|
||||
func (d *SqlDb) UpdateSchedule(schedule db.Schedule) error {
|
||||
_, err := d.exec("update project__schedule set "+
|
||||
"cron_format=? "+
|
||||
"repository_id=?, "+
|
||||
"cron_format=?, "+
|
||||
"repository_id=? "+
|
||||
"where project_id=? and id=?",
|
||||
schedule.CronFormat,
|
||||
schedule.RepositoryID,
|
||||
|
Loading…
Reference in New Issue
Block a user