Chore: Migrate REST API - updateGroupKey to Typescript (#3817)
This commit is contained in:
parent
4bd9dc0e09
commit
9265dc345d
|
@ -9,6 +9,9 @@ export type E2eEndpoints = {
|
|||
users: Pick<IUser, '_id' | 'e2e'>[];
|
||||
};
|
||||
};
|
||||
'e2e.updateGroupKey': {
|
||||
POST: (params: { uid: string; rid: string; key: string }) => {};
|
||||
};
|
||||
'e2e.setRoomKeyID': {
|
||||
POST: (params: { rid: string; keyID: string }) => {};
|
||||
};
|
||||
|
|
|
@ -51,8 +51,6 @@ export const e2eSetRoomKeyID = (rid: string, keyID: string) =>
|
|||
|
||||
export const e2eUpdateGroupKey = (uid: string, rid: string, key: string): any =>
|
||||
// RC 0.70.0
|
||||
// TODO: missing definitions from server
|
||||
// @ts-ignore
|
||||
sdk.post('e2e.updateGroupKey', { uid, rid, key });
|
||||
|
||||
export const e2eRequestRoomKey = (rid: string, e2eKeyId: string) =>
|
||||
|
|
Loading…
Reference in New Issue