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