(params = new URLSearchParams())
| 473 | } |
| 474 | |
| 475 | static async getAllChannelIds(params = new URLSearchParams()) { |
| 476 | try { |
| 477 | const response = await request( |
| 478 | `${host}/api/channels/channels/ids/?${params.toString()}` |
| 479 | ); |
| 480 | |
| 481 | return response; |
| 482 | } catch (e) { |
| 483 | errorNotification('Failed to fetch channel IDs', e); |
| 484 | } |
| 485 | } |
| 486 | |
| 487 | static async getChannelGroups() { |
| 488 | try { |
no test coverage detected