(ctx context.Context, arg database.UpdateTemplateScheduleByIDParams)
| 7275 | } |
| 7276 | |
| 7277 | func (q *querier) UpdateTemplateScheduleByID(ctx context.Context, arg database.UpdateTemplateScheduleByIDParams) error { |
| 7278 | fetch := func(ctx context.Context, arg database.UpdateTemplateScheduleByIDParams) (database.Template, error) { |
| 7279 | return q.db.GetTemplateByID(ctx, arg.ID) |
| 7280 | } |
| 7281 | return update(q.log, q.auth, fetch, q.db.UpdateTemplateScheduleByID)(ctx, arg) |
| 7282 | } |
| 7283 | |
| 7284 | func (q *querier) UpdateTemplateVersionByID(ctx context.Context, arg database.UpdateTemplateVersionByIDParams) error { |
| 7285 | // An actor is allowed to update the template version if they are authorized to update the template. |
nothing calls this directly
no test coverage detected