team-telnyx / telnyx-node

Node SDK for the Telnyx API
https://developers.telnyx.com/docs/api/v2/overview
MIT License
54 stars 20 forks source link

use correct path for basic calls #175

Closed bradrf closed 2 months ago

bradrf commented 3 months ago

Without this change, a call of telnyx.callRecordings.list() will result in a 404: Resource not found since it'll attempt this request: { method: 'GET', path: '/v2/call_recordings/recordings' }.

Additionally, the inclusion for basic DELETE support wasn't correct (was misnamed).