background color of label must be named 'color' not 'colour'

This commit is contained in:
Uwe Steinmann 2023-05-30 10:04:37 +02:00
parent 6116bbfa4d
commit 1205b32572

View File

@ -164,7 +164,7 @@ class SeedDMS_ExtPaperless_RestAPI_Controller { /* {{{ */
'id'=>(int)$category->getId(),
'slug'=>strtolower($category->getName()),
'name'=>$category->getName(),
'colour'=>'#'.$color, //'#50b02c',
'color'=>'#'.$color, //'#50b02c',
'text_color'=>'#'.$this->getContrastColor($color),
'match'=>'',
'matching_algorithm'=>6,