Chore: Migrate REST API - e2eSetRoomKeyID to Typescript (#3816)
This commit is contained in:
parent
a7ecc1e427
commit
2e95a3c9a7
|
@ -9,4 +9,7 @@ export type E2eEndpoints = {
|
|||
users: Pick<IUser, '_id' | 'e2e'>[];
|
||||
};
|
||||
};
|
||||
'e2e.setRoomKeyID': {
|
||||
POST: (params: { rid: string; keyID: string }) => {};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -45,10 +45,8 @@ export const e2eGetUsersOfRoomWithoutKey = (rid: string) =>
|
|||
// RC 0.70.0
|
||||
sdk.get('e2e.getUsersOfRoomWithoutKey', { rid });
|
||||
|
||||
export const e2eSetRoomKeyID = (rid: string, keyID: string): any =>
|
||||
export const e2eSetRoomKeyID = (rid: string, keyID: string) =>
|
||||
// RC 0.70.0
|
||||
// TODO: missing definitions from server
|
||||
// @ts-ignore
|
||||
sdk.post('e2e.setRoomKeyID', { rid, keyID });
|
||||
|
||||
export const e2eUpdateGroupKey = (uid: string, rid: string, key: string): any =>
|
||||
|
|
Loading…
Reference in New Issue