api: getLabels: return converted label ids

This commit is contained in:
Andrew Dolgov 2013-07-28 23:37:19 +04:00
parent cdfc41149d
commit 891d033c97
1 changed files with 1 additions and 1 deletions

View File

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