mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
[chore] Fix https://github.com/firefly-iii/firefly-iii/issues/9683 and rename default to native.
This commit is contained in:
@@ -56,6 +56,7 @@ class AttachmentTransformer extends AbstractTransformer
|
||||
'attachable_id' => (string) $attachment->attachable_id,
|
||||
'attachable_type' => str_replace('FireflyIII\Models\\', '', $attachment->attachable_type),
|
||||
'md5' => $attachment->md5,
|
||||
'hash' => $attachment->md5,
|
||||
'filename' => $attachment->filename,
|
||||
'download_url' => route('api.v1.attachments.download', [$attachment->id]),
|
||||
'upload_url' => route('api.v1.attachments.upload', [$attachment->id]),
|
||||
|
Reference in New Issue
Block a user