(url, options = {}, responseType = 'json')
| 152 | } |
| 153 | |
| 154 | export function apiAdminGet(url, options = {}, responseType = 'json') { |
| 155 | checkAdminPermission() |
| 156 | return apiGet(url, options, true, responseType) |
| 157 | } |
| 158 | |
| 159 | export function apiSuperAdminGet(url, options = {}, responseType = 'json') { |
| 160 | checkSuperAdminPermission() |
no test coverage detected