feat: improved news

This commit is contained in:
Ivan Rezchikov
2026-06-21 13:35:32 +03:00
parent 95fd6ae716
commit 48656b562a
13 changed files with 154 additions and 147 deletions
+5
View File
@@ -5,4 +5,9 @@ export async function getCurrentUser() {
const userId = await getSessionUserId();
if (!userId) return null;
return findUserById(userId);
}
export async function getUser(id: string) {
if (!id) return null;
return findUserById(id);
}