Skip to content

Commit

Permalink
fix: try removing // from URl (#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele authored Aug 2, 2024
1 parent 13eb096 commit 8f833a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/bulk2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,8 @@ export class QueryJobV2<S extends Schema> extends EventEmitter {
const resPromise = this.createQueryRequest({
method: 'GET',
path: this.locator
? `/${resultsPath}?locator=${this.locator}`
// resultsPath starts with '/'
? `${resultsPath}?locator=${this.locator}`
: resultsPath,
headers: {
Accept: 'text/csv',
Expand Down

0 comments on commit 8f833a0

Please sign in to comment.