fix: change @prisma/client to relative generated client
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s

This commit is contained in:
OG T
2026-06-08 13:41:46 +08:00
parent fb54b2c43c
commit b7876d88e5
13 changed files with 231 additions and 31 deletions

View File

@@ -29,12 +29,12 @@ async function main() {
const openTasksRes = await fetch(`${API_BASE}/open-tasks`);
const openTasks = await openTasksRes.json();
if (!openTasks || openTasks.length === 0) {
if (!openTasks || !openTasks.tasks || openTasks.tasks.length === 0) {
console.error("❌ No open tasks found. Run `scripts/seed_tasks.ts` first.");
return;
}
const targetTask = openTasks[0];
const targetTask = openTasks.tasks[0];
const targetTaskId = targetTask.id;
console.log(`🎯 Found Task: "${targetTask.title}" (ID: ${targetTaskId})`);