Skip to content

Commit

Permalink
fix set steam build as live with mobile confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
Licho1 committed Nov 18, 2023
1 parent 94362d5 commit 06a9526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ZkData/SteamWebApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class SteamWebApi
{
private int steamAppID;
private string webApiKey;
const string lichoSteamId = "76561197962341674";

public SteamWebApi():this(GlobalConst.SteamAppID, new Secrets().GetSteamWebApiKey()) { }

Expand Down Expand Up @@ -59,8 +60,9 @@ public void SetAppBuildLive(ulong buildid, string branch = "public")
nvc["appid"] = steamAppID.ToString();
nvc["buildid"] = buildid.ToString();
nvc["betakey"] = branch;
nvc["steamid"] = lichoSteamId;

var response = Encoding.UTF8.GetString(wc.UploadValues($"https://api.steampowered.com/ISteamApps/SetAppBuildLive/v001/", nvc));
var response = Encoding.UTF8.GetString(wc.UploadValues($"https://partner.steam-api.com/ISteamApps/SetAppBuildLive/v2/", nvc));
}


Expand Down

0 comments on commit 06a9526

Please sign in to comment.