Skip to content

Commit

Permalink
Merge pull request #1610 from aswanthabam/dev
Browse files Browse the repository at this point in the history
Task edit issue fix.
  • Loading branch information
viraka authored Aug 12, 2024
2 parents ca56547 + a33f649 commit deb9430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Dashboard/modules/Tasks/TaskApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const editTask = async (
bonus_karma?: string
) => {
try {
const formattedBonusTime = bonus_time
const formattedBonusTime = (bonus_time && bonus_time != "")
? new Date(bonus_time).toISOString() // Convert bonus_time to ISO format
: null;

Expand Down

0 comments on commit deb9430

Please sign in to comment.