From 3cf719e32494fb301440f287e9a0eeeddda7ced1 Mon Sep 17 00:00:00 2001 From: Soheel Chughtai Date: Sun, 27 Mar 2022 10:55:31 +0100 Subject: [PATCH] ListCustomModels replaces ListVoiceModels --- services/text_to_speech/v1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/text_to_speech/v1.js b/services/text_to_speech/v1.js index ae802c57..c9629810 100644 --- a/services/text_to_speech/v1.js +++ b/services/text_to_speech/v1.js @@ -63,7 +63,7 @@ module.exports = function(RED) { RED.httpAdmin.get('/watson-text-to-speech/customs', function (req, res) { var tts = ttsutils.initTTSService(req, sApikey, sEndpoint); - tts.listVoiceModels({}) + tts.listCustomModels({}) .then((response) => { let customs = response; if (response.result) {