(id)
| 1432 | } |
| 1433 | |
| 1434 | static async refreshPlaylist(id) { |
| 1435 | try { |
| 1436 | const response = await request(`${host}/api/m3u/refresh/${id}/`, { |
| 1437 | method: 'POST', |
| 1438 | }); |
| 1439 | return response; |
| 1440 | } catch (e) { |
| 1441 | errorNotification('Failed to refresh M3U account', e); |
| 1442 | } |
| 1443 | } |
| 1444 | static async refreshAllPlaylist() { |
| 1445 | try { |
| 1446 | const response = await request(`${host}/api/m3u/refresh/`, { |
no test coverage detected