GetSubmittedTasks
Function: GetSubmittedTasks()
function GetSubmittedTasks(page, committee): Promise<Response<{ pageAmount: number; submittedTasks: object[]; }>>
Defined in: src/actions/submit-task.tsx:79
Retrieves the list of submitted tasks for a given committee and page number.
Parameters
page
number
The page number to retrieve.
committee
The name of the committee to get submitted tasks for.
null | string
Returns
Promise<Response<{ pageAmount: number; submittedTasks: object[]; }>>
- A promise that resolves to a response object containing the list of submitted tasks and the amount of pages or an error message.