MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / updateRecording

Method updateRecording

frontend/src/api.js:3006–3017  ·  view source on GitHub ↗
(id, values)

Source from the content-addressed store, hash-verified

3004 }
3005
3006 static async updateRecording(id, values) {
3007 try {
3008 const response = await request(`${host}/api/channels/recordings/${id}/`, {
3009 method: 'PATCH',
3010 body: values,
3011 });
3012 useChannelsStore.getState().fetchRecordings();
3013 return response;
3014 } catch (e) {
3015 errorNotification(`Failed to update recording ${id}`, e);
3016 }
3017 }
3018
3019 static async getComskipConfig() {
3020 try {

Callers 1

updateRecordingFunction · 0.80

Calls 2

requestFunction · 0.85
errorNotificationFunction · 0.85

Tested by

no test coverage detected