work On Project

fun workOnProject(amITheProjectAuthor: Boolean, onSuccess: () -> Unit)

Function to execute the request to delete or leave the project

Parameters

amITheProjectAuthor

: whether the user who requested the action is the author of the project it will be deleted

onSuccess

: the action to execute when the request has been successful