fix: Use proper endpoint for user workspaces (#1356)

This was a silly mistake in a prior PR, so the code wasn't
actually being called!
This commit is contained in:
Kyle Carberry
2022-05-09 22:10:47 -05:00
committed by GitHub
parent b675aec4dd
commit dc115b8ca0
3 changed files with 27 additions and 11 deletions

View File

@ -258,7 +258,7 @@ func New(options *Options) (http.Handler, func()) {
})
r.Get("/gitsshkey", api.gitSSHKey)
r.Put("/gitsshkey", api.regenerateGitSSHKey)
r.Get("/workspaces", api.workspacesByOwner)
r.Get("/workspaces", api.workspacesByUser)
})
})
})