From ebd4f027e48304370760e3906884f860b6ef4f4c Mon Sep 17 00:00:00 2001 From: Brad Robel-Forrest Date: Tue, 27 Aug 2024 06:17:17 -0700 Subject: [PATCH] use correct path for basic calls (#175) * use correct path for basic calls * also fixing the basic delete support --- lib/resources/CallRecordings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resources/CallRecordings.js b/lib/resources/CallRecordings.js index 630854f..1ba807a 100644 --- a/lib/resources/CallRecordings.js +++ b/lib/resources/CallRecordings.js @@ -4,8 +4,8 @@ const TelnyxResource = require('../TelnyxResource'); const telnyxMethod = TelnyxResource.method; module.exports = TelnyxResource.extend({ - path: 'call_recordings', - includeBasic: ['list','retrieve','delete'], + path: 'recordings', + includeBasic: ['list', 'retrieve', 'del'], GetRecordings: telnyxMethod({ method: 'GET',