Fix wrong api bug

This commit is contained in:
2024-01-28 17:57:53 +01:00
parent 38f7fe1aa3
commit 4b19a9f434
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class OpenShockHttp : HttpShocker
protected override void ControlInternal(ControlAction action, string shockerId, int intensity, int duration)
{
HttpRequestMessage request = new (HttpMethod.Post, $"{Endpoint}/1/shockers/control")
HttpRequestMessage request = new (HttpMethod.Post, $"{Endpoint}/2/shockers/control")
{
Headers =
{