mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 12:21:12 +00:00
Removing prematurely merged listMedia.
This commit is contained in:
parent
02921b21a2
commit
b145a1d151
1 changed files with 0 additions and 15 deletions
15
src/http.ts
15
src/http.ts
|
@ -139,8 +139,6 @@ import { ListPostLikesResponse } from "./types/ListPostLikesResponse";
|
|||
import { ListCommentLikes } from "./types/ListCommentLikes";
|
||||
import { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
|
||||
import { HidePost } from "./types/HidePost";
|
||||
import { ListMedia } from "./types/ListMedia";
|
||||
import { ListMediaResponse } from "./types/ListMediaResponse";
|
||||
|
||||
enum HttpType {
|
||||
Get = "GET",
|
||||
|
@ -292,19 +290,6 @@ export class LemmyHttp {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* List all the media for your user
|
||||
*
|
||||
* `HTTP.GET /user/list_media`
|
||||
*/
|
||||
listMedia(form: ListMedia) {
|
||||
return this.#wrapper<ListMedia, ListMediaResponse>(
|
||||
HttpType.Get,
|
||||
"/user/list_media",
|
||||
form,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable / Disable TOTP / two-factor authentication.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue