Skip to content

Wrong value for getResults end point #24

@danieltagt

Description

@danieltagt

Hi,

I using youre library and like it :)
I find an issue for the getResults end point here https://github.com/msrivastav13/node-sf-bulk2/blob/master/src/bulk2.ts#L141
It takes the number of the enum eg:
`
await bulkrequest.getResults(jobId, RESULTTYPE.successfulResults)

will return this url

this.endpoint + '/ingest/' + jobId + '/' + 0

instead of the expected url:

this.endpoint + '/ingest/' + jobId + '/' + 'successfulResults'
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions