method 'api' returns mail_accounts and mail_rule

This commit is contained in:
Uwe Steinmann 2023-10-10 12:28:24 +02:00
parent 2440fd4e65
commit 043ed11f8c

View File

@ -190,6 +190,8 @@ class SeedDMS_ExtPaperless_RestAPI_Controller { /* {{{ */
'saved_views'=>$request->getUri().'saved_views/',
'storage_paths'=>$request->getUri().'storage_paths/',
'tasks'=>$request->getUri().'tasks/',
'mail_accounts'=>$request->getUri().'mail_accounts/',
'mail_rule'=>$request->getUri().'mail_rule/',
);
return $response->withJson($data, 200);