Skip to content

Commit

Permalink
fix action message error
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielzxccc committed May 8, 2024
1 parent 405bb58 commit 7c62a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Community/CommunityInteractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ export async function createPlantedCommunityTask({
farmid,
message,
task_type: 'plant',
action_message: `${user.firstname} ${user.lastname} has submitted a planting report.`,
}

const newTask = await Service.createCommunityTask(taskObject)
Expand Down Expand Up @@ -761,6 +760,7 @@ export async function createHarvestTask({
task_type: 'harvest',
status: 'pending',
message,
action_message: `${user.firstname} ${user.lastname} has submitted a planting report.`,
}

const newHarvestTask = await Service.createCommunityTask(taskObject)
Expand Down

0 comments on commit 7c62a7e

Please sign in to comment.