From a9b3ec5aa227424304de95a9683159745d7561ac Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Thu, 27 May 2021 22:22:48 +0300 Subject: [PATCH] Make NucuCar.Sensors\Grpc\Responses.cs field read only. --- NucuCar.Sensors/Grpc/Responses.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NucuCar.Sensors/Grpc/Responses.cs b/NucuCar.Sensors/Grpc/Responses.cs index a28a88a..34a3606 100644 --- a/NucuCar.Sensors/Grpc/Responses.cs +++ b/NucuCar.Sensors/Grpc/Responses.cs @@ -4,7 +4,7 @@ namespace NucuCar.Sensors.Grpc { public static class Responses { - public static NucuCarSensorResponse GrpcIsDisabledResponse = new NucuCarSensorResponse() + public static readonly NucuCarSensorResponse GrpcIsDisabledResponse = new NucuCarSensorResponse() { State = SensorStateEnum.Disabled, JsonData = "{}"