1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-08 21:10:05 +00:00

fix: move command improved

This commit is contained in:
Mihajlo Medjedovic
2021-01-05 16:21:18 +01:00
parent 5a7f64dc35
commit acf045965e
3 changed files with 11 additions and 8 deletions

View File

@@ -335,10 +335,10 @@ export default class SASjs {
* @param sourceFolder - the full path (eg `/Public/example/myFolder`) or URI of the source folder listed. Providing URI instead of path will save one extra request.
* @param accessToken - an access token for authorizing the request.
*/
public async listFolder(sourceFolder: string, accessToken?: string) {
public async listFolder(sourceFolder: string, accessToken?: string, limit?: number) {
this.isMethodSupported('listFolder', ServerType.SASViya)
return await this.sasViyaApiClient?.listFolder(sourceFolder, accessToken)
return await this.sasViyaApiClient?.listFolder(sourceFolder, accessToken, limit)
}
/**