From e8fea8ad9b5eceb4a6e4fc073d4087c5fb85cf51 Mon Sep 17 00:00:00 2001 From: jaguarcy Date: Fri, 1 Nov 2019 12:20:26 +0000 Subject: [PATCH] Fix rpc endpoint to avoid "409 Conflict" errors RPC endpoint needs to end in a "/", since the CSRF checks will fail in transmission if it doesn't, returning a 409 Conflict error instead. --- transmission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission.go b/transmission.go index fddebdc..e5b6b34 100644 --- a/transmission.go +++ b/transmission.go @@ -8,7 +8,7 @@ import ( "strings" ) -const endpoint = "/transmission/rpc" +const endpoint = "/transmission/rpc/" type ( // User to authenticate with Transmission