Skip to content

Commit 40bef92

Browse files
committed
Fix linting
1 parent 02968cb commit 40bef92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/users.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func (api *api) putUserStatus(status database.UserStatus) func(rw http.ResponseW
309309
apiKey := httpmw.APIKey(r)
310310
if status == database.UserStatusSuspended && user.ID == apiKey.UserID {
311311
httpapi.Write(rw, http.StatusBadRequest, httpapi.Response{
312-
Message: fmt.Sprintf("You cannot suspend yourself"),
312+
Message: "You cannot suspend yourself",
313313
})
314314
return
315315
}

0 commit comments

Comments
 (0)