Fix unsign

This commit is contained in:
Imbus 2024-04-13 09:36:34 +02:00
parent 57e969a562
commit 2d2b63938c
2 changed files with 2 additions and 2 deletions

View file

@ -400,7 +400,7 @@ func (d *Db) UnsignWeeklyReport(reportId int, projectManagerId int) error {
}
// Update the signed_by field of the specified report
_, err = d.Exec("UPDATE weekly_reports SET signed_by = NULL WHERE report_id = ?;", projectManagerId, reportId)
_, err = d.Exec("UPDATE weekly_reports SET signed_by = NULL WHERE report_id = ?;", reportId)
return err
}