From 2f5e7b5a0019f2c57ff1b8745ffbd7ab8c00ac0b Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Wed, 17 Jun 2026 14:18:33 +0000 Subject: [PATCH] fix: remove missing includes/auth.php require from metrics and suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both endpoints tried to require a non-existent includes/auth.php and call AuthMiddleware::requireAuth() — auth is already handled by api.php before any endpoint file runs. This caused 500 errors on /api/metrics (which blocked agent sparklines) and /api/suggestions. Co-Authored-By: Claude Sonnet 4.6 --- api/endpoints/metrics.php | 2 -- api/endpoints/suggestions.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/api/endpoints/metrics.php b/api/endpoints/metrics.php index 8763f11..fbbb97b 100644 --- a/api/endpoints/metrics.php +++ b/api/endpoints/metrics.php @@ -1,9 +1,7 @@