PreRelease v1

This commit is contained in:
2026-03-25 13:52:45 +01:00
parent 94b0c68703
commit 6bf998a52a
56 changed files with 11427 additions and 847 deletions

View File

@@ -0,0 +1,14 @@
"use server";
import { auth } from "@clerk/nextjs/server";
import { getUserStats } from "@/lib/services/stats.service";
export async function getStatsAction() {
const { userId } = await auth();
if (!userId) {
return { success: false, error: "Unauthorized" };
}
return await getUserStats(userId);
}