feat(client/tasks): create flow for creating a task

This commit is contained in:
Elian Doran
2025-02-18 21:06:51 +02:00
parent fc1ee7c6f0
commit c00505cd7b
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import server from "./server.js";
export async function createNewTask(title: string) {
await server.post(`tasks`, {
title
});
}