From e255caeb647684c00b18c03a84e07b49c5776bca Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 28 Jan 2024 19:26:42 +0100 Subject: [PATCH] LOL APIKEY --- TestApp/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TestApp/Program.cs b/TestApp/Program.cs index b54f884..5d8dd88 100644 --- a/TestApp/Program.cs +++ b/TestApp/Program.cs @@ -7,7 +7,7 @@ using TestApp; Logger logger = new (LogLevel.Trace); #pragma warning disable CA1416 -List serialPorts = SerialShocker.GetSerialPorts(); +List serialPorts = SerialDevice.GetSerialPorts(); if (serialPorts.Count < 1) return; @@ -25,5 +25,5 @@ while (!int.TryParse(selectedPortStr, out selectedPort) || selectedPort < 0 || s } OpenShockSerial shockSerial = new (new Dictionary(), new IntensityRange(30,50), new DurationRange(1000,1000), serialPorts[selectedPort], logger); -Dictionary shockers = shockSerial.GetShockers("https://api.shocklink.net", "kTXWKQN6dTm3LHy62Pzulf20mh0JLQiLd0zwKJcqNa9MFM0bWXfnf1O3Gzmhgd5o"); +Dictionary shockers = shockSerial.GetShockers("https://api.shocklink.net", "LOLAPIKEY"); Console.ReadKey(); \ No newline at end of file