vonage-node-code-snippets icon indicating copy to clipboard operation
vonage-node-code-snippets copied to clipboard

applications code snippet: outdated script

Open porcherface opened this issue 1 year ago • 0 comments

the updateApplication method does not read the applicationId field, leading to undefined webhook when making the api call

Expected Behavior

return a merged application

Current Behavior

returns error 404 due to missing id in url

Possible Solution

from a quick inspection of the sdk code the module expects an "id" field rather than "applicationId"

Steps to Reproduce

run this with any .env provided by vonage : https://github.com/Vonage/vonage-node-code-snippets/blob/master/applications/update-application.js

Possible Implementation

just namefix

porcherface avatar Jun 17 '24 11:06 porcherface