mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
fix(be): add required param
This commit is contained in:
parent
dade5a3a7b
commit
b0d0561966
@ -14,7 +14,7 @@ func (d *BoltDb) UpdateTemplate(template db.Template) error {
|
||||
}
|
||||
|
||||
func (d *BoltDb) GetTemplates(projectID int, params db.RetrieveQueryParams) (templates []db.Template, err error) {
|
||||
err = d.getObjects(projectID, db.TemplateObject, params, &templates)
|
||||
err = d.getObjects(projectID, db.TemplateObject, params, nil, &templates)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user