ruckus / quickbooks-ruby

Quickbooks Online REST API V3 - Ruby
MIT License
374 stars 302 forks source link

fix fetch_by_id in purchase order service #505

Closed atemena closed 4 years ago

atemena commented 4 years ago

Commit 0c9eb72 broke fetch_by_id in the PurchaseOrder service. Using the method would result in: Object Not Found : TxnType does not match read: Purchase Order expected: Invoice.

This was due to fetch_by_id using the invoice endpoint instead of the purchase order endpoint.

ruckus commented 4 years ago

Ugh, my bad. Thank you so much for the PR!