in src/com.jetbrains.youtrack.sdPlugin/actions/get-ticket-count/property-inspector/inspector.js [68:78]
async function GetLoginInfo(url, token) {
return await fetch(url + '/api/users/me?fields=id,login,name', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ' + token,
}
}).catch((error) => {
return error
})
}