mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 12:21:12 +00:00
rename
This commit is contained in:
parent
2ee103e26b
commit
f83d522cbd
3 changed files with 5 additions and 5 deletions
|
@ -154,7 +154,7 @@ import { ListTaglinesResponse } from "./types/ListTaglinesResponse";
|
|||
import { ListCustomEmojis } from "./types/ListCustomEmojis";
|
||||
import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
|
||||
import { GetRandomCommunity } from "./types/GetRandomCommunity";
|
||||
import { ApproveCommunityPendingFollows } from "./types/ApproveCommunityPendingFollows";
|
||||
import { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
|
||||
import { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
|
||||
import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
|
||||
import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
|
||||
|
@ -469,8 +469,8 @@ export class LemmyHttp {
|
|||
>(HttpType.Get, "/community/pending_follows/list", form);
|
||||
}
|
||||
|
||||
approveCommunityPendingFollow(form: ApproveCommunityPendingFollows) {
|
||||
return this.#wrapper<ApproveCommunityPendingFollows, SuccessResponse>(
|
||||
approveCommunityPendingFollow(form: ApproveCommunityPendingFollower) {
|
||||
return this.#wrapper<ApproveCommunityPendingFollower, SuccessResponse>(
|
||||
HttpType.Post,
|
||||
"/community/pending_follows/approve",
|
||||
form,
|
||||
|
|
|
@ -18,7 +18,7 @@ export { AdminPurgePerson } from "./types/AdminPurgePerson";
|
|||
export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
|
||||
export { AdminPurgePost } from "./types/AdminPurgePost";
|
||||
export { AdminPurgePostView } from "./types/AdminPurgePostView";
|
||||
export { ApproveCommunityPendingFollows } from "./types/ApproveCommunityPendingFollows";
|
||||
export { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
|
||||
export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
|
||||
export { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
|
||||
export { BanFromCommunity } from "./types/BanFromCommunity";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import type { CommunityId } from "./CommunityId";
|
||||
import type { PersonId } from "./PersonId";
|
||||
|
||||
export interface ApproveCommunityPendingFollows {
|
||||
export interface ApproveCommunityPendingFollower {
|
||||
community_id: CommunityId;
|
||||
follower_id: PersonId;
|
||||
approve: boolean;
|
Loading…
Reference in a new issue