(values)
| 2989 | } |
| 2990 | |
| 2991 | static async createRecording(values) { |
| 2992 | try { |
| 2993 | const response = await request(`${host}/api/channels/recordings/`, { |
| 2994 | method: 'POST', |
| 2995 | body: values, |
| 2996 | }); |
| 2997 | |
| 2998 | useChannelsStore.getState().fetchRecordings(); |
| 2999 | |
| 3000 | return response; |
| 3001 | } catch (e) { |
| 3002 | errorNotification('Failed to create recording', e); |
| 3003 | } |
| 3004 | } |
| 3005 | |
| 3006 | static async updateRecording(id, values) { |
| 3007 | try { |
no test coverage detected