βReject task
As a developer i want to be able to reject a task.
Input parameters
taskIdrejectionReason
How to call from app
import { httpsCallable } from 'firebase/functions';
await httpsCallable(functions, 'rejectTask')({
taskId: task.id,
rejectionReason: currentTask.rejectionReason,
})Logic
Last updated