Chore: Migrate REST API - e2eRequestRoomKey to Typescript (#3814)
This commit is contained in:
parent
8decd0f4b6
commit
d19ce3b3e4
|
@ -54,7 +54,7 @@ export const e2eUpdateGroupKey = (uid: string, rid: string, key: string): any =>
|
|||
// RC 0.70.0
|
||||
sdk.post('e2e.updateGroupKey', { uid, rid, key });
|
||||
|
||||
export const e2eRequestRoomKey = (rid: string, e2eKeyId: string) =>
|
||||
export const e2eRequestRoomKey = (rid: string, e2eKeyId: string): Promise<{ message: { msg?: string }; success: boolean }> =>
|
||||
// RC 0.70.0
|
||||
sdk.methodCallWrapper('stream-notify-room-users', `${rid}/e2ekeyRequest`, rid, e2eKeyId);
|
||||
|
||||
|
|
Loading…
Reference in New Issue