feat: account

This commit is contained in:
Ivan Rezchikov
2026-06-23 15:32:52 +03:00
parent 64923cd1b2
commit 58ec75c948
18 changed files with 205 additions and 29 deletions
+2
View File
@@ -1,5 +1,7 @@
import { getSessionUserId } from "@/lib/auth/session";
import { findUserById } from "@/lib/user/repository";
import { fetchKotosoftUser } from "./kotosoft/client";
import { cookies } from "next/headers";
export async function getCurrentUser() {
const userId = await getSessionUserId();