]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/ApiAuthException.php
Reverted shift change to old migration
[bookstack] / app / Exceptions / ApiAuthException.php
index 0851dfa4afdf8265d9ad69c962ff3d3d2701a1cb..360370de4109e723ed3446d5ff9de901fcc80556 100644 (file)
@@ -2,16 +2,6 @@
 
 namespace BookStack\Exceptions;
 
-use Exception;
-
-class ApiAuthException extends Exception
+class ApiAuthException extends UnauthorizedException
 {
-
-    /**
-     * ApiAuthException constructor.
-     */
-    public function __construct($message, $code = 401)
-    {
-        parent::__construct($message, $code);
-    }
-}
\ No newline at end of file
+}