fix(be): add required param

This commit is contained in:
Denis Gukov 2021-05-13 19:23:12 +05:00
parent dade5a3a7b
commit b0d0561966

View File

@ -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
}