qol: use unified exporting for logs
This commit is contained in:
1 parent
a6b9cd1af2
commit
8abe31f430
14 files changed
+321
-240
No files matched your search
@@ -15,9 +15,6 @@ namespace Disco.Services
|
||||
{
|
||||
public static ExportResult WriteExport<T>(IExportOptions options, IScheduledTaskStatus status, List<ExportFieldMetadata<T>> metadata, List<T> records) where T : IExportRecord
|
||||
{
|
||||
if (records.Count == 0)
|
||||
return new ExportResult();
|
||||
|
||||
var filenameWithoutExtension = $"{options.FilenamePrefix}-{status.StartedTimestamp.Value:yyyyMMdd-HHmmss}";
|
||||
MemoryStream stream;
|
||||
string filename;
|
||||
|
||||
Reference in new issue
Block a user