Move list_media to /account/

This commit is contained in:
Dessalines 2024-03-25 12:05:38 -04:00
parent 1289af4556
commit 302ea080b4

View file

@ -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,
);
}