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