From 532ad15ac17f65e2f3dd796443780a57733d897f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Wed, 12 Aug 2026 01:12:35 +0000 Subject: [PATCH] drop the import the gate left behind c59df4f removed the isSuperAdmin middleware and left its import, so the only two matches in the file were the dead import and the comment explaining what used to be there. Harmless and misleading: a grep for isSuperAdmin should not find chat. Co-Authored-By: Claude Opus 5 --- src/servers/api/chat/chat.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/servers/api/chat/chat.ts b/src/servers/api/chat/chat.ts index d0ed21ba..38b42430 100644 --- a/src/servers/api/chat/chat.ts +++ b/src/servers/api/chat/chat.ts @@ -1,6 +1,5 @@ import type { Context } from 'hono'; import { createRouter } from '../../create-router'; -import { isSuperAdmin } from '@@/super-admin'; import * as errors from '@@/custom-errors'; import * as sidecar from '@@/sidecar-registry'; import { getUserSettings } from 'officerdb';