Skip to content

Commit

Permalink
Fix issue #14 - Invalid value passed
Browse files Browse the repository at this point in the history
  • Loading branch information
ganhammar authored and JannikLassahn committed Jul 20, 2022
1 parent 9599a24 commit 28b2aed
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/GraphQL.Upload.AspNetCore/UploadGraphType.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using GraphQL.Types;
using GraphQLParser.AST;
using GraphQL.Types;
using Microsoft.AspNetCore.Http;

namespace GraphQL.Upload.AspNetCore
Expand All @@ -15,7 +13,7 @@ public UploadGraphType()

public override object ParseValue(object value)
{
return value;
return value as IFormFile;
}
}
}

0 comments on commit 28b2aed

Please sign in to comment.