mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 22:48:21 +00:00
Add missing types
This commit is contained in:
@@ -53,7 +53,7 @@ export default class PasswordReset {
|
|||||||
* @param {string} newPassword The new password for the account.
|
* @param {string} newPassword The new password for the account.
|
||||||
* @return {Promise} Resolves when the email has been sent. Then call checkEmailLinkClicked().
|
* @return {Promise} Resolves when the email has been sent. Then call checkEmailLinkClicked().
|
||||||
*/
|
*/
|
||||||
public resetPassword(emailAddress, newPassword): Promise<IRequestTokenResponse> {
|
public resetPassword(emailAddress: string, newPassword: string): Promise<IRequestTokenResponse> {
|
||||||
this.password = newPassword;
|
this.password = newPassword;
|
||||||
return this.client.requestPasswordEmailToken(emailAddress, this.clientSecret, 1).then((res) => {
|
return this.client.requestPasswordEmailToken(emailAddress, this.clientSecret, 1).then((res) => {
|
||||||
this.sessionId = res.sid;
|
this.sessionId = res.sid;
|
||||||
|
|||||||
Reference in New Issue
Block a user