Skip to content

Commit 64474fd

Browse files
committed
fix(cloudRecording):Fix the issue of incorrect expor of the low-level UpdateLayout api
1 parent 857399f commit 64474fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/cloudrecording/cloudrecording.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ func (a *Client) Update(ctx context.Context, resourceID string, sid string, mode
6969
return a.updateAPI.Do(ctx, resourceID, sid, mode, payload)
7070
}
7171

72-
func (a *Client) UpdateLayout() *api.UpdateLayout {
73-
return a.updateLayoutAPI
72+
func (a *Client) UpdateLayout(ctx context.Context, resourceID string, sid string, mode string, payload *api.UpdateLayoutReqBody) (*api.UpdateLayoutResp, error) {
73+
return a.updateLayoutAPI.Do(ctx, resourceID, sid, mode, payload)
7474
}
7575

7676
func (a *Client) IndividualRecording() *individualrecording.Client {

0 commit comments

Comments
 (0)