Skip to content

Commit

Permalink
use post method
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Nov 6, 2024
1 parent aac50dc commit 6add517
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/whisper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 6add517

Please sign in to comment.