diff --git a/TGS.Server/Instance/Repository.cs b/TGS.Server/Instance/Repository.cs index c9fdcbea4d..0a7a7a60f9 100644 --- a/TGS.Server/Instance/Repository.cs +++ b/TGS.Server/Instance/Repository.cs @@ -1016,6 +1016,8 @@ namespace TGS.Server prAPI = prAPI.Replace("github.com", "api.github.com/repos"); prAPI += "/pulls/" + PRNumberString + ".json"; string json; + //tls1.2 meme + ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; using (var wc = new WebClient()) { wc.Headers.Add("user-agent", "TGS.Server");