opentok / opentok-node

OpenTok Server SDK for node.js
MIT License
165 stars 167 forks source link

fix: Patch requests to broadcasts now watch for 204 instead of 200 #294

Closed dragonmantank closed 1 year ago

dragonmantank commented 1 year ago

What is this PR doing?

Changes PATCH requests to watch for a 204 status code instead of a 200 response code, per https://tokbox.com/developer/rest/#selecting-broadcast-streams

How should this be manually tested?

Try adding a stream to an existing broadcast

What are the relevant tickets?

Came in via support

codecov[bot] commented 1 year ago

Codecov Report

Merging #294 (7d818e9) into main (8298b7c) will not change coverage. The diff coverage is 100.0%.

Impacted Files Coverage Δ
lib/client.js 78.5% <100.0%> (ø)