import type { Metadata } from "next"; import { db, supportTickets, desc } from "@epicure/db"; import { AdminSupportManager } from "@/components/admin/admin-support-manager"; import { getPublicUrl } from "@/lib/storage"; export const metadata: Metadata = {}; export default async function AdminSupportPage() { const rows = await db.query.supportTickets.findMany({ orderBy: desc(supportTickets.createdAt), with: { attachments: true, user: { columns: { email: true, username: true } }, }, }); return (
Bug reports, suggestions, and questions submitted through the app.