chore!: remove GET workspaceagents/me/report-stats (#5530)

* chore!: remove GET workspaceagents/me/report-stats

* Fix: tests
This commit is contained in:
Marcin Tojek
2023-01-02 21:38:51 +01:00
committed by GitHub
parent d124fab642
commit 8bb7e17bf1
3 changed files with 0 additions and 135 deletions

View File

@ -512,9 +512,6 @@ func New(options *Options) *API {
r.Get("/gitsshkey", api.agentGitSSHKey)
r.Get("/coordinate", api.workspaceAgentCoordinate)
r.Post("/report-stats", api.workspaceAgentReportStats)
// DEPRECATED in favor of the POST endpoint above.
// TODO: remove in January 2023
r.Get("/report-stats", api.workspaceAgentReportStatsWebsocket)
})
r.Route("/{workspaceagent}", func(r chi.Router) {
r.Use(