[Glitch] Allow removing yourself from a collection
Port 3a796544e3 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
4bcd0caa79
commit
e616200e59
10 files changed
+254
-36
No files matched your search
@@ -49,3 +49,9 @@ export const apiRemoveCollectionItem = (collectionId: string, itemId: string) =>
|
||||
apiRequestDelete<WrappedCollectionAccountItem>(
|
||||
`v1_alpha/collections/${collectionId}/items/${itemId}`,
|
||||
);
|
||||
|
||||
export const apiRevokeCollectionInclusion = (
|
||||
collectionId: string,
|
||||
itemId: string,
|
||||
) =>
|
||||
apiRequestPost(`v1_alpha/collections/${collectionId}/items/${itemId}/revoke`);
|
||||
Reference in new issue
Block a user