mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-14 15:40:06 +00:00
fix: first request after login redirects from server
This commit is contained in:
@@ -110,6 +110,11 @@ export class WebJobExecutor extends BaseJobExecutor {
|
|||||||
if (e instanceof LoginRequiredError) {
|
if (e instanceof LoginRequiredError) {
|
||||||
await loginCallback()
|
await loginCallback()
|
||||||
|
|
||||||
|
if (config.serverType === ServerType.Sas9)
|
||||||
|
this.appendWaitingRequest(() => {
|
||||||
|
return this.execute(sasJob, data, config)
|
||||||
|
})
|
||||||
|
|
||||||
this.appendWaitingRequest(() => {
|
this.appendWaitingRequest(() => {
|
||||||
return this.execute(
|
return this.execute(
|
||||||
sasJob,
|
sasJob,
|
||||||
|
|||||||
Reference in New Issue
Block a user