diff --git a/Middleware/AuthenticateWithBearerAuth.php b/Middleware/AuthenticateWithBearerAuth.php
index <HASH>..<HASH> 100644
--- a/Middleware/AuthenticateWithBearerAuth.php
+++ b/Middleware/AuthenticateWithBearerAuth.php
@@ -24,6 +24,8 @@ class AuthenticateWithBearerAuth
     ) {
       return $continue;
     }
+
+    $this->response('Unauthorized', 401);
   }
 
   /**
@@ -108,7 +110,7 @@ class AuthenticateWithBearerAuth
    *
    * @return void
    */
-  protected function response($message, $code) : rest
+  protected function response($message, $code)
   {
     return Rest::response()->json([
       'status' => $message,
Feat: return <I> if user is not authorized