1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 12:30:06 +00:00

style: lint

This commit is contained in:
Mihajlo Medjedovic
2021-01-05 16:21:46 +01:00
parent acf045965e
commit 80aa848617
2 changed files with 23 additions and 5 deletions

View File

@@ -335,10 +335,18 @@ 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, limit?: number) {
public async listFolder(
sourceFolder: string,
accessToken?: string,
limit?: number
) {
this.isMethodSupported('listFolder', ServerType.SASViya)
return await this.sasViyaApiClient?.listFolder(sourceFolder, accessToken, limit)
return await this.sasViyaApiClient?.listFolder(
sourceFolder,
accessToken,
limit
)
}
/**