Libscore API update
What used to be an integer score is now a list.
This commit is contained in:
parent
44b0c871d0
commit
c986df7882
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user