Skip to content

Commit 6b5334e

Browse files
chore: revert to GetTemplates
1 parent e4bb752 commit 6b5334e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/metricscache/metricscache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (c *Cache) refreshTemplateBuildTimes(ctx context.Context) error {
8787
//nolint:gocritic // This is a system service.
8888
ctx = dbauthz.AsSystemRestricted(ctx)
8989

90-
templates, err := c.database.GetTemplatesWithFilter(ctx, database.GetTemplatesWithFilterParams{})
90+
templates, err := c.database.GetTemplates(ctx)
9191
if err != nil {
9292
return err
9393
}

0 commit comments

Comments
 (0)