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

Method queryStreamsTable

frontend/src/api.js:1116–1131  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

1114 }
1115
1116 static async queryStreamsTable(params) {
1117 try {
1118 API.lastStreamQueryParams = params;
1119 useStreamsTableStore.getState().setLastQueryParams(params);
1120
1121 const response = await request(
1122 `${host}/api/channels/streams/?${params.toString()}`
1123 );
1124
1125 useStreamsTableStore.getState().queryStreams(response, params);
1126
1127 return response;
1128 } catch (e) {
1129 errorNotification('Failed to fetch streams', e);
1130 }
1131 }
1132
1133 static async requeryStreams() {
1134 const params =

Callers 1

StreamsTableFunction · 0.80

Calls 3

requestFunction · 0.85
errorNotificationFunction · 0.85
queryStreamsMethod · 0.80

Tested by

no test coverage detected