mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-04 18:21:12 +00:00
fix path
This commit is contained in:
parent
2da108c059
commit
90f80ccd69
1 changed files with 3 additions and 3 deletions
|
@ -277,7 +277,7 @@ export class LemmyHttp {
|
|||
/**
|
||||
* Get data of current user.
|
||||
*
|
||||
* `HTTP.GET /account/settings`
|
||||
* `HTTP.GET /account/my_user`
|
||||
*/
|
||||
getMyUser(options?: RequestOptions) {
|
||||
return this.#wrapper<object, MyUserInfo>(
|
||||
|
@ -1436,12 +1436,12 @@ export class LemmyHttp {
|
|||
/**
|
||||
* Save your user settings.
|
||||
*
|
||||
* `HTTP.PUT /account/settings`
|
||||
* `HTTP.PUT /account/settings/save`
|
||||
*/
|
||||
saveUserSettings(form: SaveUserSettings, options?: RequestOptions) {
|
||||
return this.#wrapper<SaveUserSettings, SuccessResponse>(
|
||||
HttpType.Put,
|
||||
"/account/settings",
|
||||
"/account/settings/save",
|
||||
form,
|
||||
options,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue