Update nuget x gestione risposte complete di environmetn

This commit is contained in:
Samuele Locatelli
2025-08-06 16:13:13 +02:00
parent 5c21ba9dcc
commit f7a9c72821
8 changed files with 18 additions and 23 deletions
+3 -3
View File
@@ -42,14 +42,14 @@ namespace Lux.API.Services
// salvo SVG
string newSvg = retData.Args["Svg"];
string UID = retData.Args["UID"];
await _cacheService.SaveSvgAsync(UID, newSvg);
await _cacheService.SaveSvgAsync(UID, retData.Environment, newSvg);
}
else if(retData.Args.ContainsKey("BOM"))
if(retData.Args.ContainsKey("BOM"))
{
// salvo BOM ricevuta
string newBom = retData.Args["BOM"];
string UID = retData.Args["UID"];
await _cacheService.SaveBomAsync(UID, newBom);
await _cacheService.SaveBomAsync(UID, retData.Environment, newBom);
}
}
}