Skip to content

Commit b4ace83

Browse files
committed
Update FileUploadServices.cs
1 parent 753f612 commit b4ace83

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Test.ServiceInterface/FileUploadServices.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class FileUploadServices : Service
88
{
99
public object Any(SpeechToText request)
1010
{
11-
11+
1212
if (Request?.Files == null || Request.Files.Length == 0)
1313
{
1414
throw new ArgumentNullException(nameof(request.Audio));
@@ -24,7 +24,7 @@ public object Any(SpeechToText request)
2424
new() { Text = $"{nameof(request.Tag)} {request.Tag}" },
2525
new() { Text = $"{nameof(request.RefId)} {request.RefId}" },
2626
];
27-
27+
2828
return to;
2929
}
3030

@@ -50,7 +50,12 @@ public object Any(TestFileUploads request)
5050
ContentType = file.ContentType,
5151
});
5252
}
53-
53+
5454
return to;
5555
}
56+
57+
public object Any(TestUploadWithDto request)
58+
{
59+
return request;
60+
}
5661
}

0 commit comments

Comments
 (0)