GetSubmittedTasks

Function: GetSubmittedTasks()

function GetSubmittedTasks(page, committee?): Promise<Response<{ pageAmount: number; submittedTasks: object[]; }>>

Defined in: 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?

string | null

The name of the committee to get submitted tasks for.

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.

On this page