We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02968cb commit 40bef92Copy full SHA for 40bef92
coderd/users.go
@@ -309,7 +309,7 @@ func (api *api) putUserStatus(status database.UserStatus) func(rw http.ResponseW
309
apiKey := httpmw.APIKey(r)
310
if status == database.UserStatusSuspended && user.ID == apiKey.UserID {
311
httpapi.Write(rw, http.StatusBadRequest, httpapi.Response{
312
- Message: fmt.Sprintf("You cannot suspend yourself"),
+ Message: "You cannot suspend yourself",
313
})
314
return
315
}
0 commit comments