mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-28 22:11:33 +01:00
fix param names for arg null exceptions
This commit is contained in:
parent
ee881f67ee
commit
e7ab6da068
@ -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 New Issue
Block a user