diff --git a/src/App/Models/Data/CipherData/IdentityDataModel.cs b/src/App/Models/Data/CipherData/IdentityDataModel.cs index 825184a91..7ef336d89 100644 --- a/src/App/Models/Data/CipherData/IdentityDataModel.cs +++ b/src/App/Models/Data/CipherData/IdentityDataModel.cs @@ -12,7 +12,7 @@ namespace Bit.App.Models.Data { if(response?.Identity == null) { - throw new ArgumentNullException(nameof(response.Card)); + throw new ArgumentNullException(nameof(response.Identity)); } Title = response.Identity.Title; diff --git a/src/App/Models/Data/CipherData/LoginDataModel.cs b/src/App/Models/Data/CipherData/LoginDataModel.cs index 6316306d8..d1078f060 100644 --- a/src/App/Models/Data/CipherData/LoginDataModel.cs +++ b/src/App/Models/Data/CipherData/LoginDataModel.cs @@ -16,7 +16,7 @@ namespace Bit.App.Models.Data { if(response?.Login == null) { - throw new ArgumentNullException(nameof(response.Card)); + throw new ArgumentNullException(nameof(response.Login)); } Uris = response.Login.Uris?.Where(u => u != null).Select(u => new LoginUriDataModel(u));