picqer / picqer-php

PHP Client for the Picqer API
https://picqer.com/en/api
MIT License
18 stars 23 forks source link

Deleting entities gives too few arguments error #9

Closed wvdweij closed 6 years ago

wvdweij commented 6 years ago

When calling delete() from Contact or Webhook entity it produces an error: Too few arguments to function Picqer\Financials\Moneybird\Connection::delete()

In Picqer\Financials\Moneybird\Actions\Removable line 18: return $this->connection()->delete($this->getEndpoint() . '/' . urlencode($this->id));

Delete is called without the second $body parameter which produces this error.

wvdweij commented 6 years ago

Excuse me, wrong library!