Fix wrong order of parameters

This commit is contained in:
glax 2024-01-19 02:13:25 +01:00
parent 18d3b6bf66
commit ee0ca69475

View File

@ -125,7 +125,7 @@ public static class Setup
apiKey = QueryString("OpenShock API-Key:","");
intensityRange = GetIntensityRange();
durationRange = GetDurationRange();
newShocker = new OpenShockHttp(shockerIds, intensityRange, durationRange, apiUri, apiKey);
newShocker = new OpenShockHttp(shockerIds, intensityRange, durationRange, apiKey, apiUri);
newShocker.ShockerIds.AddRange(((OpenShockHttp)newShocker).GetShockers());
break;
case 3: //PiShock (HTTP)