Skip to content

Commit

Permalink
Trim title on RTR objective creation
Browse files Browse the repository at this point in the history
  • Loading branch information
thewatermethod committed Sep 24, 2024
1 parent a072220 commit 59090a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goalServices/goals.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ export async function createOrUpdateGoals(goals) {
if (!objective) {
objective = await Objective.create({
status: objectiveStatus,
title,
title: title.trim(),
goalId: newGoal.id,
createdVia: 'rtr',
});
Expand Down

0 comments on commit 59090a7

Please sign in to comment.