Revize 52fe46f9
Přidáno uživatelem Vojtěch Bartička před asi 3 roky(ů)
Backend/Core/Services/DocumentService/DocumentServiceEF.cs | ||
---|---|---|
42 | 42 |
|
43 | 43 |
foreach (var documentInfo in request.Documents) |
44 | 44 |
{ |
45 |
if (documentInfo.Format == Models.Enums.EAddDocumentFormat.PLAINTEXT)
|
|
45 |
if (documentInfo.Format == Models.Enums.EAddDocumentFormat.TEXTFILE)
|
|
46 | 46 |
{ |
47 | 47 |
// TODO hardcoded UTF-8 - maybe do something smarter |
48 | 48 |
var documentContent = Encoding.UTF8.GetString(Convert.FromBase64String(documentInfo.Content)); |
Také k dispozici: Unified diff
Minor fix