Use the ToParameter on Language

So that we pass the correct value to the API
This commit is contained in:
Henrik Andersson
2014-01-19 06:45:42 +10:00
parent 6b4e029f88
commit a3c1bb814e
+1 -1
View File
@@ -120,7 +120,7 @@ namespace Octokit
if (Language != null)
{
parameters.Add(String.Format(CultureInfo.InvariantCulture, "language:{0}", Language));
parameters.Add(String.Format(CultureInfo.InvariantCulture, "language:{0}", Language.ToParameter()));
}
if (Forks != null)