mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-03 02:30:06 +00:00
fix: make duplicate request only if payload is present
This commit is contained in:
@@ -110,10 +110,10 @@ export class WebJobExecutor extends BaseJobExecutor {
|
||||
if (e instanceof LoginRequiredError) {
|
||||
await loginCallback()
|
||||
|
||||
if (config.serverType === ServerType.Sas9)
|
||||
this.appendWaitingRequest(() => {
|
||||
return this.execute(sasJob, data, config)
|
||||
})
|
||||
if (config.serverType === ServerType.Sas9 && data)
|
||||
this.appendWaitingRequest(() =>
|
||||
this.execute(sasJob, data, config)
|
||||
)
|
||||
|
||||
this.appendWaitingRequest(() => {
|
||||
return this.execute(
|
||||
|
||||
Reference in New Issue
Block a user