api: getLabels: return converted label ids
This commit is contained in:
parent
cdfc41149d
commit
891d033c97
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue