From e6b8fa09023e5a1ef0c814997d97364cd648c03b Mon Sep 17 00:00:00 2001 From: Jean-Pierre Fortune Date: Wed, 6 Dec 2023 16:13:51 +0100 Subject: [PATCH] fix: .NET build --- client/dotnet/domain/api/MainServiceApiAdapter.cs | 2 +- client/dotnet/domain/data/command/CardSelector.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/dotnet/domain/api/MainServiceApiAdapter.cs b/client/dotnet/domain/api/MainServiceApiAdapter.cs index 6dd5e1a..de72673 100644 --- a/client/dotnet/domain/api/MainServiceApiAdapter.cs +++ b/client/dotnet/domain/api/MainServiceApiAdapter.cs @@ -236,7 +236,7 @@ private CardSelectionResponse ProcessCardSelectionRequest(CardSelector cardSelec CardSelectionResponse cardSelectionResponse = new CardSelectionResponse { - HasMatched = cardSelectionRequest.SuccessfulSelectionStatusWords.Contains(selectAppResponse.StatusWord), + HasMatched = cardSelectionRequest.SuccessfulSelectionStatusWords?.Contains(selectAppResponse.StatusWord) ?? false, PowerOnData = _reader.GetPowerOnData(), SelectApplicationResponse = selectAppResponse, CardResponse = cardResponse diff --git a/client/dotnet/domain/data/command/CardSelector.cs b/client/dotnet/domain/data/command/CardSelector.cs index 21f1a4d..bdbe091 100644 --- a/client/dotnet/domain/data/command/CardSelector.cs +++ b/client/dotnet/domain/data/command/CardSelector.cs @@ -10,7 +10,6 @@ using App.domain.utils; using Newtonsoft.Json; -using System.Collections.Generic; namespace App.domain.data.command {