✅Accept developer (creator)
As a creator of a task i want to be able to accept the developer (and his estimation).
Input parameters
TaskID
How to call from app
HTTP request to: /accept-developer/TASKID
Logic
The frontend (app.tasksource.io) calls the API (api.tasksource.io/accept-developer/TASK-ID)
the backend should now set a field in the task document (acceptedByCreator = true)
Send First Email:
to_email_adress = email_of_assigned_person
template_name = "tasks-accepted-by-creator->developer"
data = {taskData: taskData, taskId: taskId}
Send Second Email:
to_email_adress = email_of_task_creator
template_name = "tasks-accepted-by-creator->creator"
data = {taskData: taskData, taskId: taskId}
Last updated