refactor: format
TS Lint / ESLint (push) Has been cancelled
TS Lint / Oxlint (push) Has been cancelled
TS Lint / TypeScript (push) Has been cancelled

This commit is contained in:
2026-07-14 11:47:05 +02:00
parent 566f8403ef
commit a9b2e31d81
17 changed files with 432 additions and 183 deletions
-1
View File
@@ -1,7 +1,6 @@
import { parseTask } from "@/lib/tasks";
import type { Task, TaskCreateData, TaskUpdateData } from "@/types";
export async function getTasks(list: string): Promise<Task[]> {
const response = await fetch(`/api/lists/${list}/tasks`);
return (await response.json()).map(parseTask);