diff --git a/.gitignore b/.gitignore index 42898c0..725b3d9 100644 --- a/.gitignore +++ b/.gitignore @@ -336,3 +336,4 @@ ASALocalRun/ # MFractors (Xamarin productivity tool) working folder .mfractor/ +BrickOwlSharp.Demos/apikey.txt diff --git a/BrickOwlSharp.Demos/Program.cs b/BrickOwlSharp.Demos/Program.cs index 2862ddd..854edde 100644 --- a/BrickOwlSharp.Demos/Program.cs +++ b/BrickOwlSharp.Demos/Program.cs @@ -29,7 +29,7 @@ internal static class Program { static async Task Main() { - BrickOwlClientConfiguration.Instance.ApiKey = ""; + BrickOwlClientConfiguration.Instance.ApiKey = System.IO.File.ReadAllText("apikey.txt"); BrickOwlClientConfiguration.Instance.ApiCallEvent += new BrickOwlApiCallDelegate(() => { Console.WriteLine($"API called");