phpfui / ConstantContact

MIT License
16 stars 7 forks source link

Contact Delete returns false? #11

Closed degive closed 2 years ago

degive commented 2 years ago

So the Contact delete works great now but why is it that it returns false on success, shouldn't it return true?

phpfui commented 2 years ago

Could be a brain fart. Will check logic Monday. Thanks for confirming.

degive commented 2 years ago

I get lots if those ;-)

On Sat, Aug 13, 2022, 4:10 PM Bruce Wells @.***> wrote:

Could be a brain fart. Will check logic Monday. Thanks for confirming.

— Reply to this email directly, view it on GitHub https://github.com/phpfui/ConstantContact/issues/11#issuecomment-1214244113, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGE33VYZOBGQ335TUJJXK4TVZATN5ANCNFSM56OY4A2Q . You are receiving this because you authored the thread.Message ID: @.***>

phpfui commented 2 years ago

Turns out Constant Contact returns various 200 status codes for a successful delete. I was only checking for one. Grab the latest version. Should work now.