diff --git a/Lux.API/Services/ExternalMessageProcessor.cs b/Lux.API/Services/ExternalMessageProcessor.cs
index 458eaac0..2ba59755 100644
--- a/Lux.API/Services/ExternalMessageProcessor.cs
+++ b/Lux.API/Services/ExternalMessageProcessor.cs
@@ -18,12 +18,14 @@ namespace Lux.API.Services
///
///
///
- public ExternalMessageProcessor(ImageCacheService imgService, DataLayerServices dlService)
+ public ExternalMessageProcessor(ImageCacheService imgService, DataLayerServices dlService, CalcRuidService crService)
{
cacheService = imgService;
dbService = dlService;
+ _calcRuidService = crService;
}
+ private readonly CalcRuidService _calcRuidService;
#endregion Public Constructors
#region Public Methods
@@ -97,6 +99,9 @@ namespace Lux.API.Services
* Richieste "continue" di stato/update
* ----------------------------------------*/
string UID = retData.Args["UID"];
+ string RUID = retData.Args["RUID"];
+ // salvo SUBITO chiusura statistiche...
+ await _calcRuidService.CompleteRequestAsync(RUID);
// gestione ritorno preview SVG
if (retData.Args.ContainsKey("Svg"))