Revert "feat: WhatsApp notification helper + phase 4 migration (recheck_round, WhatsApp settings)"

This reverts commit b6845f5bb5.
This commit is contained in:
2026-07-11 18:47:08 +08:00
parent dfca872629
commit 121433ddf8
4 changed files with 1 additions and 116 deletions
+1 -6
View File
@@ -3,12 +3,7 @@ export const dynamic = 'force-dynamic'
import { NextRequest, NextResponse } from 'next/server'
import { createClient } from '@/lib/supabase/server'
const ALLOWED_KEYS = [
'ANTHROPIC_API_KEY',
'VOYAGE_API_KEY',
'META_WHATSAPP_PHONE_NUMBER_ID',
'META_WHATSAPP_ACCESS_TOKEN',
] as const
const ALLOWED_KEYS = ['ANTHROPIC_API_KEY', 'VOYAGE_API_KEY'] as const
type SettingKey = typeof ALLOWED_KEYS[number]
async function requireAdmin(supabase: Awaited<ReturnType<typeof createClient>>) {