Can delete a single inbox entry
This commit is contained in:
@ -69,4 +69,14 @@ export class InboxApi {
|
||||
})
|
||||
).data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete an inbox entry
|
||||
*/
|
||||
static async Delete(movement: InboxEntry): Promise<void> {
|
||||
await APIClient.exec({
|
||||
uri: `/inbox/${movement.id}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user