Fix wrong api bug

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

View File

@ -7,7 +7,7 @@
<Authors>Glax</Authors>
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.3.6</Version>
<Version>1.3.7</Version>
</PropertyGroup>
<ItemGroup>

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 =
{