(params)
| 45 | } |
| 46 | |
| 47 | async function fetchGuiTheme (params) { |
| 48 | return await getAPI('listGuiThemes', params).then(response => { |
| 49 | if (response.listguithemesresponse.guiThemes) { |
| 50 | return response.listguithemesresponse.guiThemes[0] |
| 51 | } |
| 52 | }).catch(error => { |
| 53 | console.error('Error fetching GUI theme:', error) |
| 54 | return null |
| 55 | }) |
| 56 | } |
| 57 | |
| 58 | async function applyDynamicCustomization (response) { |
| 59 | let jsonConfig |
no test coverage detected