diff --git a/packages/postgrest-core/src/fetch/build-mutation-fetcher-response.ts b/packages/postgrest-core/src/fetch/build-mutation-fetcher-response.ts index 43013a02d..a9d8e8d60 100644 --- a/packages/postgrest-core/src/fetch/build-mutation-fetcher-response.ts +++ b/packages/postgrest-core/src/fetch/build-mutation-fetcher-response.ts @@ -1,4 +1,4 @@ -import flatten from 'flat'; +import { flatten } from 'flat'; import { get } from '../lib/get'; import { diff --git a/packages/postgrest-core/src/lib/encode-object.ts b/packages/postgrest-core/src/lib/encode-object.ts index dcb476547..ac70ee871 100644 --- a/packages/postgrest-core/src/lib/encode-object.ts +++ b/packages/postgrest-core/src/lib/encode-object.ts @@ -1,4 +1,4 @@ -import flatten from 'flat'; +import { flatten } from 'flat'; import { sortSearchParams } from './sort-search-param';