Skip to content

Commit 9295149

Browse files
committed
gotta hit save sometimes
1 parent efed3bc commit 9295149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ func (api *API) postWorkspaceUsage(rw http.ResponseWriter, r *http.Request) {
11151115
return
11161116
}
11171117

1118-
api.workspaceUsageTracker.Add(workspace.ID)
1118+
api.statsReporter.TrackUsage(workspace.ID)
11191119
rw.WriteHeader(http.StatusNoContent)
11201120
}
11211121

0 commit comments

Comments
 (0)