Skip to content

Commit fe1e4c1

Browse files
committed
chore(text-to-speech-v1): match the output of the generator
1 parent acfd7b5 commit fe1e4c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Scripts/Services/TextToSpeech/V1/TextToSpeechService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
using Newtonsoft.Json.Linq;
3131
using System;
3232
using UnityEngine.Networking;
33-
using System.IO;
3433

3534
namespace IBM.Watson.TextToSpeech.V1
3635
{
@@ -1640,7 +1639,7 @@ public bool AddCustomPrompt(Callback<Prompt> callback, string customizationId, s
16401639
if (metadata != null)
16411640
{
16421641
byte[] byteArray = Encoding.ASCII.GetBytes(JsonConvert.SerializeObject(metadata));
1643-
req.Forms["metadata"] = new RESTConnector.Form(new MemoryStream(byteArray), "" ,"application/json");
1642+
req.Forms["metadata"] = new RESTConnector.Form(new System.IO.MemoryStream(byteArray), "" ,"application/json");
16441643
}
16451644
if (file != null)
16461645
{

0 commit comments

Comments
 (0)