mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
fix param names for arg null exceptions
This commit is contained in:
parent
ee881f67ee
commit
e7ab6da068
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ namespace Bit.App.Models.Data
|
||||||
{
|
{
|
||||||
if(response?.Identity == null)
|
if(response?.Identity == null)
|
||||||
{
|
{
|
||||||
throw new ArgumentNullException(nameof(response.Card));
|
throw new ArgumentNullException(nameof(response.Identity));
|
||||||
}
|
}
|
||||||
|
|
||||||
Title = response.Identity.Title;
|
Title = response.Identity.Title;
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace Bit.App.Models.Data
|
||||||
{
|
{
|
||||||
if(response?.Login == null)
|
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));
|
Uris = response.Login.Uris?.Where(u => u != null).Select(u => new LoginUriDataModel(u));
|
||||||
|
|
Loading…
Reference in a new issue