Chore: Migrate REST API - sendConfirmationEmail to Typescript (#3807)
This commit is contained in:
parent
cb8d4be7eb
commit
1c5f8b1731
|
@ -83,7 +83,8 @@ export const forgotPassword = (email: string): any =>
|
|||
// @ts-ignore
|
||||
sdk.post('users.forgotPassword', { email });
|
||||
|
||||
export const sendConfirmationEmail = (email: string) => sdk.methodCallWrapper('sendConfirmationEmail', email);
|
||||
export const sendConfirmationEmail = (email: string): Promise<{ message: string; success: boolean }> =>
|
||||
sdk.methodCallWrapper('sendConfirmationEmail', email);
|
||||
|
||||
export const spotlight = (search: string, usernames: string, type: { users: boolean; rooms: boolean }) =>
|
||||
// RC 0.51.0
|
||||
|
|
Loading…
Reference in New Issue