mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-05 02:31: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.
|
* Get data of current user.
|
||||||
*
|
*
|
||||||
* `HTTP.GET /account/settings`
|
* `HTTP.GET /account/my_user`
|
||||||
*/
|
*/
|
||||||
getMyUser(options?: RequestOptions) {
|
getMyUser(options?: RequestOptions) {
|
||||||
return this.#wrapper<object, MyUserInfo>(
|
return this.#wrapper<object, MyUserInfo>(
|
||||||
|
@ -1436,12 +1436,12 @@ export class LemmyHttp {
|
||||||
/**
|
/**
|
||||||
* Save your user settings.
|
* Save your user settings.
|
||||||
*
|
*
|
||||||
* `HTTP.PUT /account/settings`
|
* `HTTP.PUT /account/settings/save`
|
||||||
*/
|
*/
|
||||||
saveUserSettings(form: SaveUserSettings, options?: RequestOptions) {
|
saveUserSettings(form: SaveUserSettings, options?: RequestOptions) {
|
||||||
return this.#wrapper<SaveUserSettings, SuccessResponse>(
|
return this.#wrapper<SaveUserSettings, SuccessResponse>(
|
||||||
HttpType.Put,
|
HttpType.Put,
|
||||||
"/account/settings",
|
"/account/settings/save",
|
||||||
form,
|
form,
|
||||||
options,
|
options,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue