Skip to content

Commit fe918d4

Browse files
committed
chore(Language Translator V3): Update example
1 parent 01a2739 commit fe918d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/IBM.Watson.LanguageTranslator.v3.Examples/ServiceExample.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ public void TranslateDocument()
224224
fs.CopyTo(ms);
225225
result = service.TranslateDocument(
226226
file: ms,
227+
filename: Path.GetFileName(documentToTranslatePath),
227228
fileContentType: "text/plain",
228229
modelId: "en-es"
229230
);

0 commit comments

Comments
 (0)