MCPcopy Index your code
hub / github.com/coder/coder / writeChatUsageLimitGroupNotFound

Function writeChatUsageLimitGroupNotFound

coderd/exp_chats.go:7352–7356  ·  view source on GitHub ↗
(ctx context.Context, rw http.ResponseWriter)

Source from the content-addressed store, hash-verified

7350}
7351
7352func writeChatUsageLimitGroupNotFound(ctx context.Context, rw http.ResponseWriter) {
7353 httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
7354 Message: "Group not found.",
7355 })
7356}
7357
7358func parseChatUsageLimitUserID(rw http.ResponseWriter, r *http.Request) (uuid.UUID, bool) {
7359 userID, err := uuid.Parse(chi.URLParam(r, "user"))

Calls 1

WriteFunction · 0.92

Tested by

no test coverage detected