Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Ringhel.Procesio.Action.Core/Models/FileModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public FileModel() {}
public FileModel(Stream file, string name)
{
var memoryStream = new MemoryStream();
file.Seek(0, SeekOrigin.Begin);
using (var responseStream = file)
{
responseStream.CopyTo(memoryStream);
Expand All @@ -24,7 +23,7 @@ public FileModel(Stream file, string name)
Name = name;
}

private FileModel Clone()
public FileModel Clone()
{
File.Seek(0, SeekOrigin.Begin);
return new FileModel(File, Name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Company>Ringhel</Company>
<Product>Procesio</Product>
<RepositoryUrl>https://github.com/PROCESIO/Action-Core.git</RepositoryUrl>
<Version>1.16.0</Version>
<Version>1.16.0.2</Version>
<AssemblyName>Ringhel.Procesio.Action.Core</AssemblyName>
<PackageId>Ringhel.Procesio.Action.Core</PackageId>
<RootNamespace>Ringhel.Procesio.Action.Core</RootNamespace>
Expand Down