Add option to remove account from followers in web UI (#34488)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2025-04-18 07:23:34 +00:00
1 parent 64d94f9e57
commit bed614d44e
5 files changed
+74 -1

No files matched your search

+5
View File
@@ -18,3 +18,8 @@ export const apiFollowAccount = (
export const apiUnfollowAccount = (id: string) =>
apiRequestPost<ApiRelationshipJSON>(`v1/accounts/${id}/unfollow`);
export const apiRemoveAccountFromFollowers = (id: string) =>
apiRequestPost<ApiRelationshipJSON>(
`v1/accounts/${id}/remove_from_followers`,
);