Skip to content

Commit

Permalink
ListCustomModels replaces ListVoiceModels
Browse files Browse the repository at this point in the history
  • Loading branch information
chughts committed Mar 27, 2022
1 parent 5104630 commit 3cf719e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/text_to_speech/v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3cf719e

Please sign in to comment.