mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Correctly support language filter in repo search (#1951)
* Correctly support language filter in repo search * Fix failing client test * Use the correct language code for C++
This commit is contained in:
committed by
Ryan Gribble
parent
d16ac98d00
commit
70fe726954
@@ -148,7 +148,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 (User.IsNotBlank())
|
||||
@@ -557,7 +557,7 @@ namespace Octokit
|
||||
ColdFusion,
|
||||
CommonLisp,
|
||||
Coq,
|
||||
[Parameter(Value = "C++")]
|
||||
[Parameter(Value = "cpp")]
|
||||
CPlusPlus,
|
||||
[Parameter(Value = "CSharp")]
|
||||
CSharp,
|
||||
|
||||
Reference in New Issue
Block a user