mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
Enhancement: process mail button (#8466)
This commit is contained in:
@@ -47,4 +47,8 @@ export class MailAccountService extends AbstractPaperlessService<MailAccount> {
|
||||
delete account['set_permissions']
|
||||
return this.http.post(this.getResourceUrl() + 'test/', account)
|
||||
}
|
||||
|
||||
processAccount(account: MailAccount) {
|
||||
return this.http.post(this.getResourceUrl(account.id, 'process'), {})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user