Skip to content

Commit

Permalink
fix: Fixed all calls going to /v1/pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Dec 16, 2023
1 parent 6052575 commit ec0e33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/BaseService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class BaseService {
try {
await this.waitForRateLimit()

const axiosResponse = await this.client.post<T>('/v1/pdf', requestBody, config)
const axiosResponse = await this.client.post<T>(url, requestBody, config)
this.processRateLimit(new AxiosHeaders(axiosResponse.headers))

if (config.responseType === 'arraybuffer') {
Expand Down

0 comments on commit ec0e33a

Please sign in to comment.