Skip to content

Commit

Permalink
fix:correct function call
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger authored Oct 7, 2023
1 parent 99cf340 commit cd3d784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrapper/RecordsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Records extends FernRecords {
request: Flatfile.RecordData[],
requestOptions?: FernRecords.RequestOptions
): Promise<Flatfile.RecordsResponse> {
const body = pako.deflate(JSON.stringify(request));
const body = pako.gzip(JSON.stringify(request));
const _response = await (this._options.fetcher ?? core.fetcher)({
url: urlJoin(
(await core.Supplier.get(this._options.environment)) ?? environments.FlatfileEnvironment.Production,
Expand Down

0 comments on commit cd3d784

Please sign in to comment.