(ctx context.Context, arg database.UpdateWorkspaceAutostartParams)
| 7851 | } |
| 7852 | |
| 7853 | func (q *querier) UpdateWorkspaceAutostart(ctx context.Context, arg database.UpdateWorkspaceAutostartParams) error { |
| 7854 | fetch := func(ctx context.Context, arg database.UpdateWorkspaceAutostartParams) (database.Workspace, error) { |
| 7855 | return q.db.GetWorkspaceByID(ctx, arg.ID) |
| 7856 | } |
| 7857 | return update(q.log, q.auth, fetch, q.db.UpdateWorkspaceAutostart)(ctx, arg) |
| 7858 | } |
| 7859 | |
| 7860 | // UpdateWorkspaceBuildCostByID is used by the provisioning system to update the cost of a workspace build. |
| 7861 | func (q *querier) UpdateWorkspaceBuildCostByID(ctx context.Context, arg database.UpdateWorkspaceBuildCostByIDParams) error { |
nothing calls this directly
no test coverage detected