diff --git a/src/http.ts b/src/http.ts index 6df5ae4..420ef3e 100644 --- a/src/http.ts +++ b/src/http.ts @@ -74,6 +74,7 @@ import { Register, SaveUserSettings, VerifyEmail, + VerifyEmailResponse, } from "./interfaces/api/person"; import { CreatePost, @@ -656,7 +657,7 @@ export class LemmyHttp { /** * Verify your email */ - async verifyEmail(form: VerifyEmail): Promise { + async verifyEmail(form: VerifyEmail): Promise { return this.wrapper(HttpType.Post, "/user/verify_email", form); } diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index 271b75e..644f87b 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -303,6 +303,8 @@ export interface VerifyEmail { token: string; } +export interface VerifyEmailResponse {} + export interface BlockPerson { person_id: number; block: boolean;