mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2025-01-09 11:41:28 +00:00
change account route
This commit is contained in:
parent
c287daa2e6
commit
50d0b23b8e
1 changed files with 2 additions and 2 deletions
|
@ -279,12 +279,12 @@ export class LemmyHttp {
|
|||
/**
|
||||
* Get data of current user.
|
||||
*
|
||||
* `HTTP.GET /account/my_user`
|
||||
* `HTTP.GET /account`
|
||||
*/
|
||||
getMyUser(options?: RequestOptions) {
|
||||
return this.#wrapper<object, MyUserInfo>(
|
||||
HttpType.Get,
|
||||
"/account/my_user",
|
||||
"/account",
|
||||
{},
|
||||
options,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue