fix API route to delete project hook