This commit is contained in:
Ivan Rezchikov
2026-07-11 21:40:18 +03:00
parent 6667cc55b2
commit e4844f741c
7 changed files with 30 additions and 34 deletions
-2
View File
@@ -1,7 +1,5 @@
import { getSessionUserId } from "@/lib/auth/session";
import { findUserById, findUsersByIds } from "@/lib/user/repository";
import { fetchKotosoftUser } from "./kotosoft/client";
import { cookies } from "next/headers";
export async function getCurrentUser() {
const userId = await getSessionUserId();