βReject work result
As a creator, I want to reject the work a developer submitted because the solution is not working
Input parameters
taskIdrejectionReason
How to call from app
import { httpsCallable } from 'firebase/functions';
await httpsCallable(functions, 'rejectWorkResult')({
taskId: task.id,
rejectionReason: currentTask.rejectionReason,
})Logic
Last updated