api: getLabels: return converted label ids

master
Andrew Dolgov 11 years ago
parent cdfc41149d
commit 891d033c97

@ -430,7 +430,7 @@ class API extends Handler {
}
array_push($rv, array(
"id" => (int)$line['id'],
"id" => (int)label_to_feed_id($line['id']),
"caption" => $line['caption'],
"fg_color" => $line['fg_color'],
"bg_color" => $line['bg_color'],

Loading…
Cancel
Save