Add read-only Noya admin panel with assignments and UX polish.
Ship admin auth, user overview, assessments, chats, assignment filters/export, security hardening, and a separate desktop admin shell with clearer assessment answers. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -82,7 +82,7 @@ async function completeSession(token: string, ip: string, order: number, userId:
|
||||
|
||||
await prisma.sessionProgress.update({
|
||||
where: { userId_sessionOrder: { userId, sessionOrder: order } },
|
||||
data: { completedAt: new Date(Date.now() - 2 * 60 * 60 * 1000) },
|
||||
data: { completedAt: new Date(Date.now() - 25 * 60 * 60 * 1000) },
|
||||
});
|
||||
|
||||
return { chatId, progress: complete.body.data, userId };
|
||||
|
||||
Reference in New Issue
Block a user