From 6add5178e4c1f3f9a77c2f74782279e566edb700 Mon Sep 17 00:00:00 2001 From: Lluis Date: Wed, 6 Nov 2024 12:55:50 +0100 Subject: [PATCH] use post method --- services/whisper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/whisper.js b/services/whisper.js index 7f13c70..b0b4cda 100644 --- a/services/whisper.js +++ b/services/whisper.js @@ -4,6 +4,7 @@ const config = require("../config"); async function start () { let result let options = await _getHeaders() + options.method = 'POST' const endpoint = config.whisper.endpoint + '/start/' + config.twitch.channels try { @@ -21,6 +22,7 @@ async function start () { async function stop () { let result let options = await _getHeaders() + options.method = 'POST' const endpoint = config.whisper.endpoint + '/stop' try {