fix: remove stale eslint-disable directive in announcement route
Node.js CI / CI (pull_request) Failing after 1m12s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m37s

This commit is contained in:
2026-03-03 17:59:00 -08:00
committed by Naomi Carrigan
parent c6de6c9591
commit 2ebeddd890
-1
View File
@@ -60,7 +60,6 @@ export const announcementRoutes: FastifyPluginAsync = async(server) => {
server.post<{ Body: { content: string; type: string } }>(
"/announcement",
// eslint-disable-next-line max-statements -- This is a long function.
async(request, reply) => {
const token = request.headers.authorization;
if (token === undefined || token !== process.env.ANNOUNCEMENT_TOKEN) {