Use new AudibleApi methods

This commit is contained in:
MBucari 2023-03-13 20:47:32 -06:00
parent eed42bd108
commit ec7dd1b54a
3 changed files with 94 additions and 160 deletions

View file

@ -218,7 +218,7 @@ namespace ApplicationServices
{
{ "Account", account.MaskedLogEntry },
{ "ScannedDateTime", DateTime.Now.ToString("u") },
{ "Items", await Task.Run(() => JArray.FromObject(dtoItems)) }
{ "Items", await Task.Run(() => JArray.FromObject(dtoItems.Select(i => i.SourceJson))) }
};
await archiver.AddFileAsync(fileName, scanFile);