oberknecht-api
Advanced tools
Comparing version 0.0.1-3 to 0.0.1-4
@@ -52,3 +52,3 @@ const request = require("request"); | ||
request(`${urls.twitch.updatechatsettings.url}?broadcaster_id=${broadcaster_id}&moderator_id=${moderator_id}`, { method: urls.twitch.updatechatsettings.method, headers: urls.twitch._headers(sym, customtoken, clientid), body: JSON.stringify(reqbody) }, (e, r) => { | ||
request(`${urls._url("twitch", "updatechatsettings")}?broadcaster_id=${broadcaster_id}&moderator_id=${moderator_id}`, { method: urls.twitch.updatechatsettings.method, headers: urls.twitch._headers(sym, customtoken, clientid), body: JSON.stringify(reqbody) }, (e, r) => { | ||
if (e || (r.statusCode !== urls._code("twitch", "updatechatsettings"))) return reject(Error(e ?? r.body)); | ||
@@ -55,0 +55,0 @@ |
{ | ||
"name": "oberknecht-api", | ||
"version": "0.0.1-3", | ||
"version": "0.0.1-4", | ||
"description": "A client for easy usage of the Twitch API (Helix)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
56881