mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +00:00
Remove VerifyEmailResponse
This commit is contained in:
parent
f99e725623
commit
49713c23c6
2 changed files with 1 additions and 4 deletions
|
@ -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<VerifyEmailResponse> {
|
||||
async verifyEmail(form: VerifyEmail): Promise<LoginResponse> {
|
||||
return this.wrapper(HttpType.Post, "/user/verify_email", form);
|
||||
}
|
||||
|
||||
|
|
|
@ -303,8 +303,6 @@ export interface VerifyEmail {
|
|||
token: string;
|
||||
}
|
||||
|
||||
export interface VerifyEmailResponse {}
|
||||
|
||||
export interface BlockPerson {
|
||||
person_id: number;
|
||||
block: boolean;
|
||||
|
|
Loading…
Reference in a new issue