From 49713c23c6853c42a3ee6200319877fb31377114 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 9 Dec 2021 14:19:08 -0500 Subject: [PATCH] Remove VerifyEmailResponse --- src/http.ts | 3 +-- src/interfaces/api/person.ts | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/http.ts b/src/http.ts index 420ef3e..6df5ae4 100644 --- a/src/http.ts +++ b/src/http.ts @@ -74,7 +74,6 @@ import { Register, SaveUserSettings, VerifyEmail, - VerifyEmailResponse, } from "./interfaces/api/person"; import { CreatePost, @@ -657,7 +656,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 644f87b..271b75e 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -303,8 +303,6 @@ export interface VerifyEmail { token: string; } -export interface VerifyEmailResponse {} - export interface BlockPerson { person_id: number; block: boolean;