From 8ab9a508d4a11ebc5b46daec4060f86e36032180 Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Sat, 13 Sep 2025 20:32:25 -0500 Subject: [PATCH] Remove deprecated createChannelsFromStreams method --- frontend/src/api.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/frontend/src/api.js b/frontend/src/api.js index 29d018bd..447a0d0a 100644 --- a/frontend/src/api.js +++ b/frontend/src/api.js @@ -549,27 +549,6 @@ export default class API { } } - static async createChannelsFromStreams(values) { - try { - const response = await request( - `${host}/api/channels/channels/from-stream/bulk/`, - { - method: 'POST', - body: values, - } - ); - - if (response.created && response.created.length > 0) { - useChannelsStore.getState().addChannels(response.created); - } - - return response; - } catch (e) { - errorNotification('Failed to create channels', e); - throw e; // Re-throw to allow proper error handling in calling code - } - } - static async createChannelsFromStreamsAsync(streamIds, channelProfileIds = null) { try { const requestBody = {