mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 01:14:36 +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) {
|
||||
await loginCallback()
|
||||
|
||||
if (config.serverType === ServerType.Sas9)
|
||||
this.appendWaitingRequest(() => {
|
||||
return this.execute(sasJob, data, config)
|
||||
})
|
||||
|
||||
this.appendWaitingRequest(() => {
|
||||
return this.execute(
|
||||
sasJob,
|
||||
|
||||
Reference in New Issue
Block a user