Update ApiRequestor.php

fix undefined variable $resp