Skip to content

Commit 9ef126f

Browse files
committed
fix: adjust to the latest schema
1 parent a99f273 commit 9ef126f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/StreamCall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class StreamCall extends CallApi {
99

1010
create = this.getOrCreate;
1111

12-
ring = (params: { member_ids?: string[] }) => {
12+
ring = (params: { target_member_ids?: string[] }) => {
1313
return this.videoApi.getCall({
1414
...params,
1515
id: this.id,

src/gen/video/VideoApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ export class VideoApi extends BaseApi {
153153
ring?: boolean;
154154
notify?: boolean;
155155
video?: boolean;
156-
member_ids?: string[];
156+
target_member_ids?: string[];
157157
}): Promise<StreamResponse<GetCallResponse>> => {
158158
const queryParams = {
159159
members_limit: request?.members_limit,
160160
ring: request?.ring,
161161
notify: request?.notify,
162162
video: request?.video,
163-
member_ids: request?.member_ids,
163+
target_member_ids: request?.target_member_ids,
164164
};
165165
const pathParams = {
166166
type: request?.type,

0 commit comments

Comments
 (0)