diff --git a/src/rc-sdk/RcSdkRole.ts b/src/rc-sdk/RcSdkRole.ts index cd70612..2abbaef 100644 --- a/src/rc-sdk/RcSdkRole.ts +++ b/src/rc-sdk/RcSdkRole.ts @@ -35,7 +35,7 @@ export class RcSdkRole { } public list(): Promise { - return this.sdk.get(`roles.list`); + return this.sdk.get(`roles.list?count=0`); } public create(body: IRoleCreate): Promise { diff --git a/src/rc-sdk/RcSdkTeam.ts b/src/rc-sdk/RcSdkTeam.ts index 328470d..4f4fc03 100644 --- a/src/rc-sdk/RcSdkTeam.ts +++ b/src/rc-sdk/RcSdkTeam.ts @@ -105,11 +105,11 @@ export class RcSdkTeam { } public listAll(): Promise { - return this.sdk.get(`teams.listAll`); + return this.sdk.get(`teams.listAll?count=0`); } public members(teamId: string): Promise { - return this.sdk.get(`teams.members?teamId=${teamId}`); + return this.sdk.get(`teams.members?teamId=${teamId}&count=0`); } public info(teamId: string): Promise { diff --git a/src/rc-sdk/RcSdkUser.ts b/src/rc-sdk/RcSdkUser.ts index 5410a10..14198ef 100644 --- a/src/rc-sdk/RcSdkUser.ts +++ b/src/rc-sdk/RcSdkUser.ts @@ -74,7 +74,7 @@ export class RcSdkUser { public list(): Promise { return this.sdk.get( - `users.list?query={"type":"user"}&fields={"type":1,"createdAt":1}`, + `users.list?query={"type":"user"}&fields={"type":1,"createdAt":1}&count=0`, ); }