mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Double check on integers for https://github.com/firefly-iii/firefly-iii/issues/3554
This commit is contained in:
@@ -64,7 +64,7 @@ class AttachmentTransformer extends AbstractTransformer
|
||||
'id' => (int)$attachment->id,
|
||||
'created_at' => $attachment->created_at->toAtomString(),
|
||||
'updated_at' => $attachment->updated_at->toAtomString(),
|
||||
'attachable_id' => $attachment->attachable_id,
|
||||
'attachable_id' => (int) $attachment->attachable_id,
|
||||
'attachable_type' => str_replace('FireflyIII\\Models\\', '', $attachment->attachable_type),
|
||||
'md5' => $attachment->md5,
|
||||
'filename' => $attachment->filename,
|
||||
|
Reference in New Issue
Block a user