RejectTask

Function: RejectTask()

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

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

On this page