Added format to array

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-01-05 13:15:30 -08:00
parent db43628bdc
commit 381f89c5a8

View file

@ -32,6 +32,7 @@ class AssetModelsTransformer
'name' => e($field->name),
'db_column_name' => e($field->db_column_name()),
'default_value' => ($field->defaultValue($assetmodel->id)) ? e($field->defaultValue($assetmodel->id)) : null,
'format' => e($field->format),
'required' => ($field->pivot->required == '1') ? true : false,
];
}