Libscore API update

What used to be an integer score is now a list.
This commit is contained in:
Thaddee Tyl 2015-11-23 08:54:47 +01:00
parent 44b0c871d0
commit c986df7882

View File

@ -884,7 +884,7 @@ cache(function(data, match, sendBadge, request) {
}
try {
var data = JSON.parse(buffer);
badgeData.text[1] = metric(+data.count);
badgeData.text[1] = metric(+data.count[data.count.length-1]);
badgeData.colorscheme = 'blue';
sendBadge(format, badgeData);
} catch(e) {