...
|
...
|
@@ -1174,7 +1174,7 @@ func (taskService *TaskService) UpdateTask(updateTaskCommand *command.UpdateTask |
|
|
}
|
|
|
}
|
|
|
|
|
|
if task.TaskType == domain.TASK_STATUS_EXPIRED {
|
|
|
if task.TaskStatus == domain.TASK_STATUS_EXPIRED {
|
|
|
if _, err := releaseTaskService.Release(task.TaskId, task.Sponsor.Uid); err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
|