Update src/PasswordReset.ts

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Dariusz Niemczyk 2021-08-19 09:47:26 +02:00 committed by GitHub
parent 96877eef18
commit 4e5f83344e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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<void> {
const creds = {
sid: this.sessionId,
client_secret: this.clientSecret,