mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-18 17:40:06 +00:00
fix(debug): only set session manager debug if it is defined
This commit is contained in:
@@ -52,8 +52,10 @@ export class SASViyaApiClient {
|
|||||||
|
|
||||||
public set debug(value: boolean) {
|
public set debug(value: boolean) {
|
||||||
this._debug = value
|
this._debug = value
|
||||||
|
if (this.sessionManager) {
|
||||||
this.sessionManager.debug = value
|
this.sessionManager.debug = value
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of jobs in the currently set root folder.
|
* Returns a list of jobs in the currently set root folder.
|
||||||
|
|||||||
Reference in New Issue
Block a user