()
| 118 | }; |
| 119 | |
| 120 | function handleAuthError() { |
| 121 | if ( |
| 122 | confirm( |
| 123 | "Session expired or unauthorized. Would you like to go to the login page?", |
| 124 | ) |
| 125 | ) { |
| 126 | window.location.href = "/"; |
| 127 | } else { |
| 128 | Dialog.loading.hide(); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | async function requestGet(url, data) { |
| 133 | return new Promise((resolve, reject) => { |
no outgoing calls
no test coverage detected