mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +00:00
Add missing docs for logout endpoint (#256)
This commit is contained in:
parent
37797a9f06
commit
b577deee2f
1 changed files with 5 additions and 0 deletions
|
@ -1046,6 +1046,11 @@ export class LemmyHttp {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invalidate the currently used auth token.
|
||||
*
|
||||
* `HTTP.POST /user/logout`
|
||||
*/
|
||||
logout() {
|
||||
return this.#wrapper<object, SuccessResponse>(
|
||||
HttpType.Post,
|
||||
|
|
Loading…
Reference in a new issue