β Accept task
As a developer i want to accept a task that has been assigned to me.
Input parameters
How to call from app
import { httpsCallable } from 'firebase/functions';
await httpsCallable(functions, 'acceptTask')({
taskId: task.id,
complexityRange: Number(currentTask.complexityRange),
timeRange: Number(currentTask.timeRange)
})Logic
Last updated