Remove deprecated createChannelsFromStreams method

This commit is contained in:
SergeantPanda 2025-09-13 20:32:25 -05:00
parent 05641cfb02
commit 8ab9a508d4

View file

@ -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 = {