Browse Source

fix: broken function import

liyasthomas 3 years ago
parent
commit
0de9f3d8c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/hoppscotch-app/helpers/RequestRunner.ts

+ 1 - 1
packages/hoppscotch-app/helpers/RequestRunner.ts

@@ -5,7 +5,6 @@ import { pipe } from "fp-ts/function"
 import * as O from "fp-ts/Option"
 import * as O from "fp-ts/Option"
 import { runTestScript, TestDescriptor } from "@hoppscotch/js-sandbox"
 import { runTestScript, TestDescriptor } from "@hoppscotch/js-sandbox"
 import { isRight } from "fp-ts/Either"
 import { isRight } from "fp-ts/Either"
-import { isJSONContentType } from "@hoppscotch/data"
 import {
 import {
   getCombinedEnvVariables,
   getCombinedEnvVariables,
   getFinalEnvsFromPreRequest,
   getFinalEnvsFromPreRequest,
@@ -14,6 +13,7 @@ import { getEffectiveRESTRequest } from "./utils/EffectiveURL"
 import { HoppRESTResponse } from "./types/HoppRESTResponse"
 import { HoppRESTResponse } from "./types/HoppRESTResponse"
 import { createRESTNetworkRequestStream } from "./network"
 import { createRESTNetworkRequestStream } from "./network"
 import { HoppTestData, HoppTestResult } from "./types/HoppTestResult"
 import { HoppTestData, HoppTestResult } from "./types/HoppTestResult"
+import { isJSONContentType } from "./utils/contenttypes"
 import { getRESTRequest, setRESTTestResults } from "~/newstore/RESTSession"
 import { getRESTRequest, setRESTTestResults } from "~/newstore/RESTSession"
 
 
 const getTestableBody = (res: HoppRESTResponse & { type: "success" }) => {
 const getTestableBody = (res: HoppRESTResponse & { type: "success" }) => {