Accept work result
As a creator, I want to accept the work of a submitted task
Last updated
As a creator, I want to accept the work of a submitted task
Last updated
TaskID
HTTP request to: /accept-work-result/TASKID
The frontend (app.tasksource.io) calls the API (api.tasksource.io/accept-work-result/TASK-ID)
the backend should now set a field in the task document (workResultIsAccepted = true)
change task document databaseStatus into "closed".
call the gernreate invoiced API ()
Send First Email:
to_email_adress = email_of_assigned_person
template_name = "work-result-accepted->developer"
data = {taskData: taskData, taskId: taskId}
Send Second Email:
to_email_adress = email_of_task_creator
template_name = "work-result-accepted->creator"
data = {taskData: taskData, taskId: taskId}