mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 22:00:05 +00:00
fix: makeRequest retry, getFolderUri error catching
This commit is contained in:
@@ -1018,7 +1018,10 @@ export class SASViyaApiClient {
|
||||
const { result: folder } = await this.request<Folder>(
|
||||
`${this.serverUrl}${url}`,
|
||||
requestInfo
|
||||
);
|
||||
).catch((err) => {
|
||||
return {result: null};
|
||||
})
|
||||
|
||||
if (!folder) return undefined;
|
||||
return `/folders/folders/${folder.id}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user