GetApprovedTasks

Function: GetApprovedTasks()

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

Defined in: actions/submit-task.tsx:201

Retrieves the list of approved tasks for a given page and committee.

Parameters

page

number

The page number to retrieve.

committee?

string | null

The name of the committee to get approved tasks for.

Returns

Promise<Response<{ pageAmount: number; tasks: object[]; }>>
  • A promise that resolves to a response object containing the list of approved tasks and the amount of pages or an error message.

On this page