fix(site): fix error when loading workspaces with dormant (#11291)

This commit is contained in:
Bruno Quaresma
2023-12-19 20:42:07 -03:00
committed by GitHub
parent 24080b121c
commit e0d34ca6f7
8 changed files with 31 additions and 44 deletions

View File

@ -118,7 +118,7 @@ func (api *API) workspace(rw http.ResponseWriter, r *http.Request) {
// @Security CoderSessionToken
// @Produce json
// @Tags Workspaces
// @Param q query string false "Search query in the format `key:value`. Available keys are: owner, template, name, status, has-agent, is-dormant, last_used_after, last_used_before."
// @Param q query string false "Search query in the format `key:value`. Available keys are: owner, template, name, status, has-agent, dormant, last_used_after, last_used_before."
// @Param limit query int false "Page limit"
// @Param offset query int false "Page offset"
// @Success 200 {object} codersdk.WorkspacesResponse