mirror of https://github.com/infosecn1nja/C3.git
Github branch default changed to main
parent
8d11e832a6
commit
d87b988c82
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue