(id, values)
| 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 { |
no test coverage detected