import { NextRequest, NextResponse } from 'next/server';

export const dynamic = 'force-dynamic';

export async function GET() {
  try {
  return NextResponse.json({
    metrics: [12500, 18200, 15800, 22400, 19600, 25100, 28900],
    totalRevenue: 142500,
    ordersToday: 15,
  });} catch (error) {
    console.error('[SwagStore] GET error:', error);
    return NextResponse.json({ error: 'Internal server error' }, { status: 500 });
  }
}
