SubmitTaskAction
Function: SubmitTaskAction()
function SubmitTaskAction(taskId, committee, photo): Promise<Response<void>>
Defined in: src/actions/submit-task.tsx:17
Submits a task with the given ID, committee, and photo.
Parameters
taskId
string
The ID of the task to submit.
committee
string
The committee associated with the task.
photo
File
The photo file to submit with the task.
Returns
Promise<Response<void>>
- A promise that resolves to a response object indicating success or failure.