mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 13:51:12 +00:00
parent
79710354bd
commit
c47102bfb1
2 changed files with 8 additions and 0 deletions
|
@ -976,6 +976,14 @@ export class LemmyHttp {
|
|||
);
|
||||
}
|
||||
|
||||
logout() {
|
||||
return this.#wrapper<object, SuccessResponse>(
|
||||
HttpType.Post,
|
||||
"/user/logout",
|
||||
{},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the details for a person.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue