Skip to content

Commit 72dc98f

Browse files
committed
fix IFile support
1 parent 967a9b5 commit 72dc98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeekLearning.RestKit.FormData/MultipartFormDataFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public HttpContent Format(object body, IDictionary<string, IFormData> formData)
1919
var containerContent = new MultipartFormDataContent();
2020
foreach (var item in formData)
2121
{
22-
var file = formData as IFile;
22+
var file = item.Value as IFile;
2323

2424
if (file != null)
2525
{

0 commit comments

Comments
 (0)