Skip to content

Commit

Permalink
return typing to what it was
Browse files Browse the repository at this point in the history
  • Loading branch information
armandobelardo committed May 27, 2024
1 parent e4aae06 commit eba1e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class FileforgeClient {
await _request.append("files", _file);
}

const _response = await core.fetcher<stream.Readable>({
const _response = await core.fetcher<ResponseObject | any>({
url: urlJoin(
(await core.Supplier.get(this._options.environment)) ?? environments.FileforgeEnvironment.Default,
"pdf/generate/"
Expand Down Expand Up @@ -154,7 +154,7 @@ export class FileforgeClient {
await _request.append("files", _file);
}

const _response = await core.fetcher<stream.Readable>({
const _response = await core.fetcher<ResponseObject | any>({
url: urlJoin(
(await core.Supplier.get(this._options.environment)) ?? environments.FileforgeEnvironment.Default,
"pdf/merge/"
Expand All @@ -164,8 +164,8 @@ export class FileforgeClient {
Authorization: await core.Supplier.get(this._options.apiKey),
"X-API-Key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "fileforge",
"X-Fern-SDK-Version": "0.0.12",
"X-Fern-SDK-Name": "@fileforge/client",
"X-Fern-SDK-Version": "0.0.13",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await _request.getHeaders()),
Expand Down

0 comments on commit eba1e02

Please sign in to comment.