diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2021-04-06 23:24:11 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-04-08 15:33:06 +0300 |
commit | 79ecd77d59d3d5f07142305483338836501dc57b (patch) | |
tree | c60eb250729dd6fd13cad03384fe5b856fc128a2 /lib/Controller | |
parent | ed2e94b4589c3e9100a537c2f6001e354277fca9 (diff) |
Cleanup internal alias api
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/AliasesController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/AliasesController.php b/lib/Controller/AliasesController.php index b7475affa..88d8f945d 100644 --- a/lib/Controller/AliasesController.php +++ b/lib/Controller/AliasesController.php @@ -23,10 +23,10 @@ declare(strict_types=1); namespace OCA\Mail\Controller; -use OCA\Mail\Exception\ClientException; use OCA\Mail\Exception\NotImplemented; use OCA\Mail\Service\AliasesService; use OCP\AppFramework\Controller; +use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Http; use OCP\AppFramework\Http\JSONResponse; use OCP\IRequest; @@ -96,7 +96,7 @@ class AliasesController extends Controller { * @param string $aliasName * * @return JSONResponse - * @throws ClientException + * @throws DoesNotExistException */ public function create(int $accountId, string $alias, string $aliasName): JSONResponse { return new JSONResponse( |