mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
#1107 Do no set visibility and affiliation value to avoid mixing with type
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Octokit
|
||||
return (from property in map
|
||||
let value = property.GetValue(this)
|
||||
let key = property.Key
|
||||
where value != null
|
||||
where !String.IsNullOrEmpty(value)
|
||||
select new { key, value }).ToDictionary(kvp => kvp.key, kvp => kvp.value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user