mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 01:14:36 +00:00
fix: fetch all items of folder
This commit is contained in:
@@ -1238,7 +1238,7 @@ export class SASViyaApiClient {
|
||||
throw new Error(`The path ${path} does not exist on ${this.serverUrl}`)
|
||||
}
|
||||
const { result: members } = await this.request<{ items: any[] }>(
|
||||
`${this.serverUrl}/folders/folders/${folder.id}/members`,
|
||||
`${this.serverUrl}/folders/folders/${folder.id}/members?limit=${folder.memberCount}`,
|
||||
requestInfo
|
||||
)
|
||||
|
||||
|
||||
@@ -4,4 +4,5 @@ export interface Folder {
|
||||
id: string
|
||||
uri: string
|
||||
links: Link[]
|
||||
memberCount: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user