Skip to content

Commit f84741a

Browse files
committed
Upload folder updated
1 parent a38b57a commit f84741a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

MockMe.API/Controllers/FileController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public async Task<ActionResult<List<TemplateFormResult>>> FilesUpload(int id, [R
9494

9595
foreach (var file in files)
9696
{
97-
var filePath = Path.Combine(@"App_Data", id.ToString(), @"Files", file.FileName);
97+
var filePath = Path.Combine(@"App_Data", id.ToString(), file.FileName);
9898
new FileInfo(filePath).Directory?.Create();
9999

100100
await using var stream = new FileStream(filePath, FileMode.Create);

MockMe.API/MockMe.API.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<Folder Include="App_Data\8888\Files\" />
1918
<Folder Include="Properties\ServiceDependencies\" />
2019
</ItemGroup>
2120

0 commit comments

Comments
 (0)