Add missing docs for logout endpoint (#256)

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,