MCPcopy Index your code
hub / github.com/Dispatcharr/Dispatcharr / deleteStreams

Method deleteStreams

frontend/src/api.js:1242–1254  ·  view source on GitHub ↗
(ids)

Source from the content-addressed store, hash-verified

1240 }
1241
1242 static async deleteStreams(ids) {
1243 try {
1244 await request(`${host}/api/channels/streams/bulk-delete/`, {
1245 method: 'DELETE',
1246 body: { stream_ids: ids },
1247 });
1248
1249 useStreamsStore.getState().removeStreams(ids);
1250 await API.requeryStreams();
1251 } catch (e) {
1252 errorNotification('Failed to delete streams', e);
1253 }
1254 }
1255
1256 static async getUserAgents() {
1257 try {

Callers 1

executeDeleteStreamsFunction · 0.80

Calls 3

requestFunction · 0.85
errorNotificationFunction · 0.85
requeryStreamsMethod · 0.80

Tested by

no test coverage detected