diff --git a/MP.IOC/Data/MpDataService.cs b/MP.IOC/Data/MpDataService.cs index c39b6c3a..60820464 100644 --- a/MP.IOC/Data/MpDataService.cs +++ b/MP.IOC/Data/MpDataService.cs @@ -3028,7 +3028,7 @@ namespace MP.IOC.Data { var currKey = Utils.RedKeyPzCount(idxMacchina, MpIoNS); RedisValue rawData = await redisDb.StringGetAsync(currKey); - if (!rawData.HasValue) + if (rawData.HasValue) { // salvo per + tempo... await redisDb.StringSetAsync(currKey, answ.ToString());