Revert "Remove VerifyEmailResponse"

This reverts commit 49713c23c6.
This commit is contained in:
Dessalines 2021-12-12 11:45:08 -05:00
parent fdf2256725
commit fbaf6cbbcf
2 changed files with 4 additions and 1 deletions

View file

@ -74,6 +74,7 @@ import {
Register, Register,
SaveUserSettings, SaveUserSettings,
VerifyEmail, VerifyEmail,
VerifyEmailResponse,
} from "./interfaces/api/person"; } from "./interfaces/api/person";
import { import {
CreatePost, CreatePost,
@ -656,7 +657,7 @@ export class LemmyHttp {
/** /**
* Verify your email * Verify your email
*/ */
async verifyEmail(form: VerifyEmail): Promise<LoginResponse> { async verifyEmail(form: VerifyEmail): Promise<VerifyEmailResponse> {
return this.wrapper(HttpType.Post, "/user/verify_email", form); return this.wrapper(HttpType.Post, "/user/verify_email", form);
} }

View file

@ -303,6 +303,8 @@ export interface VerifyEmail {
token: string; token: string;
} }
export interface VerifyEmailResponse {}
export interface BlockPerson { export interface BlockPerson {
person_id: number; person_id: number;
block: boolean; block: boolean;