diff --git a/src/PasswordReset.ts b/src/PasswordReset.ts index 2e97b9dde0..aacef332f0 100644 --- a/src/PasswordReset.ts +++ b/src/PasswordReset.ts @@ -75,7 +75,7 @@ export default class PasswordReset { * with a "message" property which contains a human-readable message detailing why * the reset failed, e.g. "There is no mapped matrix user ID for the given email address". */ - public async checkEmailLinkClicked() { + public async checkEmailLinkClicked(): Promise { const creds = { sid: this.sessionId, client_secret: this.clientSecret,