Remove use of deprecated Media Library model method

This commit is contained in:
Christopher C. Wells 2022-03-06 14:43:39 -08:00
parent 1d4a975ae5
commit 6e3c40531d
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class MediumSchema extends SchemaProvider
'url' => $resource->getUrl(),
'mimeType' => $resource->mime_type,
'size' => $resource->size,
'sizeFormatted' => $resource->getHumanReadableSizeAttribute(),
'sizeFormatted' => $resource->human_readable_size,
'manipulations' => $resource->manipulations,
'customProperties' => $resource->custom_properties,
'conversions' => [],

1
database/.gitignore vendored
View File

@ -1,2 +1,3 @@
*.sqlite
*.sqlite_test*
*.sqlite-journal