EasyPost/easypost-php

"Undefined variable: v" when deleting carrier account.

Closed this issue · 1 comments

I'm getting an exception, "Undefined variable: v", when trying to do this:

\EasyPost\CarrierAccount::retrieve("ca_...")->delete();

It looks like there is a bug in the __unset method of EasyPostObject.php. On line 123 the value of $v is being assigned. But I don't see $v being defined anywhere in that method.

$param = array($k => $v);

I'm getting same kind of error.

Can anyone please give the solution for above issue.

Thank you.