From fbaf6cbbcf5b162cfa164647ac00abd2d538eb24 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 12 Dec 2021 11:45:08 -0500 Subject: [PATCH] Revert "Remove VerifyEmailResponse" This reverts commit 49713c23c6853c42a3ee6200319877fb31377114. --- src/http.ts | 3 ++- src/interfaces/api/person.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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;