mirror of
https://codeberg.org/SeedDMS/paperless
synced 2024-11-26 07:22:08 +00:00
method 'api' returns mail_accounts and mail_rule
This commit is contained in:
parent
2440fd4e65
commit
043ed11f8c
|
@ -190,6 +190,8 @@ class SeedDMS_ExtPaperless_RestAPI_Controller { /* {{{ */
|
||||||
'saved_views'=>$request->getUri().'saved_views/',
|
'saved_views'=>$request->getUri().'saved_views/',
|
||||||
'storage_paths'=>$request->getUri().'storage_paths/',
|
'storage_paths'=>$request->getUri().'storage_paths/',
|
||||||
'tasks'=>$request->getUri().'tasks/',
|
'tasks'=>$request->getUri().'tasks/',
|
||||||
|
'mail_accounts'=>$request->getUri().'mail_accounts/',
|
||||||
|
'mail_rule'=>$request->getUri().'mail_rule/',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $response->withJson($data, 200);
|
return $response->withJson($data, 200);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user