EDMI: clean up service

This commit is contained in:
Jonathan Jenne
2020-04-28 11:11:54 +02:00
parent ebc482b7b2
commit 7bf03b303b
2 changed files with 1 additions and 21 deletions

View File

@@ -239,8 +239,8 @@ Public Class EDMIService
Using oSource As FileStream = IO.File.OpenRead(oFullPath)
oSource.CopyTo(oDestination)
End Using
oDestination.Seek(0, SeekOrigin.Begin)
Dim oMessage As New Messages.DocumentStreamResponse() With {
.FileName = oFileInfo.Name,
.FileContents = oDestination