SHA256
feat StayExport - Added ExportDetails for StayExports
Store a new field ('ExportDetails') with export details. This is a JSON field in DB that can store information about the export depending on the format provider used.
Changes:
- Updated models and created required migrations.
- Show field in StayExport list.
This commit is contained in:
1 parent
7b8020879b
commit
9ec87d56da
16 files changed
+352
-16
No files matched your search
@@ -58,7 +58,7 @@ public class StayExportService(
|
||||
{
|
||||
//Create Format provider and export data to stream.
|
||||
var provider = providerFactory.GetProvider(format);
|
||||
exportResult = await provider.ExportDataAsync(stayList, exportedDataStream);
|
||||
(exportResult, stayExport.ExportDetails) = await provider.ExportDataAsync(stayList, exportedDataStream);
|
||||
|
||||
// "Rewind" stream so it can be read from the begining when uploading.
|
||||
exportedDataStream.Seek(0, SeekOrigin.Begin);
|
||||
|
||||
Reference in new issue
Block a user