2
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy-js-client.git synced 2025-01-11 04:25:52 +00:00

Add missing docs for logout endpoint ()

This commit is contained in:
Richard Schwab 2024-03-29 19:03:35 +01:00 committed by GitHub
parent 37797a9f06
commit b577deee2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1046,6 +1046,11 @@ export class LemmyHttp {
); );
} }
/**
* Invalidate the currently used auth token.
*
* `HTTP.POST /user/logout`
*/
logout() { logout() {
return this.#wrapper<object, SuccessResponse>( return this.#wrapper<object, SuccessResponse>(
HttpType.Post, HttpType.Post,