CommitteeClash Documentation
API
Backend
Frontend
Actions
Committee
Leaderboard
Period
Possible-task
Review
Functions
ApproveTaskRejectTask
Submit-task
App
Components
Lib
Types
FrontendActionsReviewFunctions

RejectTask

Function: RejectTask()

function RejectTask(id, reason): Promise<Response<void>>

Defined in: src/actions/review.tsx:68

Rejects a submitted task with the specified ID and reason.

Parameters

id

string

The ID of the task to reject.

reason

string

The reason for rejecting the task.

Returns

Promise<Response<void>>
  • A promise that resolves to a response object indicating success or failure.

ApproveTask

Previous Page

Submit-task

Next Page

On this page

Function: RejectTask()ParametersidreasonReturns