Skip to content

Commit

Permalink
New branch (#2033)
Browse files Browse the repository at this point in the history
* feat:add taskTitle field to sendTaskUpdate util

* fix: pass correct detail

* fix: pass correct detail
  • Loading branch information
tejaskh3 authored May 5, 2024
1 parent 60ef429 commit ba68f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/progresses.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const assertTaskExists = async (taskId) => {
if (!taskData) {
throw new NotFound(`Task with id ${taskId} does not exist.`);
}
return taskData;
return taskData.title;
};

/**
Expand Down

0 comments on commit ba68f7d

Please sign in to comment.