change account route

This commit is contained in:
Felix Ableitner 2024-12-02 11:27:16 +01:00
parent c287daa2e6
commit 50d0b23b8e

View file

@ -279,12 +279,12 @@ export class LemmyHttp {
/** /**
* Get data of current user. * Get data of current user.
* *
* `HTTP.GET /account/my_user` * `HTTP.GET /account`
*/ */
getMyUser(options?: RequestOptions) { getMyUser(options?: RequestOptions) {
return this.#wrapper<object, MyUserInfo>( return this.#wrapper<object, MyUserInfo>(
HttpType.Get, HttpType.Get,
"/account/my_user", "/account",
{}, {},
options, options,
); );