Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: trim value to prevent whitespace issues

MonsPropre6606ea73f56c
diff --git a/apps/api/src/task/controllers/create-task.ts b/apps/api/src/task/controllers/create-task.ts
index 889518b62..0dc40873a 100644
--- a/apps/api/src/task/controllers/create-task.ts
+++ b/apps/api/src/task/controllers/create-task.ts
@@ -117,7 +117,7 @@ async function createTask({
normalizedCustomFields.map(({ fieldId, value }) => ({
taskId: task.id,
fieldId,
- value,
+ value: value.trim(),
})),
);
}