Github branch default changed to main

master
Alfie Champion 2020-10-05 17:28:01 +01:00 committed by Grzegorz Rychlik
parent 8d11e832a6
commit d87b988c82
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ void FSecure::GithubApi::WriteMessageToFile(std::string const& direction, ByteVi
OBF("/contents/") + filename; OBF("/contents/") + filename;
j[OBF("message")] = OBF("Initial Commit"); j[OBF("message")] = OBF("Initial Commit");
j[OBF("branch")] = OBF("master"); j[OBF("branch")] = OBF("main");
j[OBF("content")] = cppcodec::base64_rfc4648::encode(data); j[OBF("content")] = cppcodec::base64_rfc4648::encode(data);
json response = SendJsonRequest(url, j, Method::PUT); json response = SendJsonRequest(url, j, Method::PUT);