mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Move list_media to /account/
This commit is contained in:
parent
1289af4556
commit
302ea080b4
1 changed files with 2 additions and 2 deletions
|
@ -293,12 +293,12 @@ export class LemmyHttp {
|
|||
/**
|
||||
* List all the media for your user
|
||||
*
|
||||
* `HTTP.GET /user/list_media`
|
||||
* `HTTP.GET /account/list_media`
|
||||
*/
|
||||
listMedia(form: ListMedia = {}) {
|
||||
return this.#wrapper<ListMedia, ListMediaResponse>(
|
||||
HttpType.Get,
|
||||
"/user/list_media",
|
||||
"/account/list_media",
|
||||
form,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue