Spaces:
Running
Running
| import { NextResponse } from "next/server" | |
| import { getDashboardData } from "@/lib/data-backend" | |
| export async function GET() { | |
| const data = await getDashboardData() | |
| return NextResponse.json(data) | |
| } | |