feat(tasks): trim task name

This commit is contained in:
Elian Doran 2025-02-26 21:25:08 +02:00
parent d0c703515b
commit 2ea85dc238
No known key found for this signature in database

View File

@ -9,7 +9,7 @@ interface CreateNewTasksOpts {
export async function createNewTask({ parentNoteId, title }: CreateNewTasksOpts) {
await server.post(`tasks`, {
parentNoteId,
title
title: title.trim()
});
}