Skip to content

Commit

Permalink
fix MostCommon() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
cengelha committed Mar 1, 2024
1 parent 77bdf16 commit e0321d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libNOM.io/Platform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,6 @@ protected virtual string GetUserIdentification(JObject jsonObject, string key)
return string.Empty;

// ByBase is most reliable due to the BaseType, then BySettlement is second as it is still something you own, and ByDiscovery as last resort which can be a mess.
return GetUserIdentificationByBase(jsonObject, key).MostCommon() ?? GetUserIdentificationBySettlement(jsonObject, key).MostCommon() ?? GetUserIdentificationByDiscovery(jsonObject, key).MostCommon() ?? string.Empty;
return GetUserIdentificationByBase(jsonObject, key) ?? GetUserIdentificationBySettlement(jsonObject, key) ?? GetUserIdentificationByDiscovery(jsonObject, key) ?? string.Empty;
}

Expand Down

0 comments on commit e0321d4

Please sign in to comment.