Revoked share links (#664)
* Move to revokation API for share links
* Respect revoked share links
Add documentation for shares endpoints
* 💚
This commit is contained in:
@ -38,7 +38,7 @@ class SharesStore {
|
||||
@action
|
||||
revoke = async (share: Share) => {
|
||||
try {
|
||||
await client.post('/shares.delete', { id: share.id });
|
||||
await client.post('/shares.revoke', { id: share.id });
|
||||
runInAction('revoke', () => {
|
||||
this.data.delete(share.id);
|
||||
});
|
||||
|
Reference in New Issue
Block a user