mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Merge branch 'apifix' into develop
* apifix: Fix issues with API authentication. # Conflicts: # app/Api/V1/Controllers/BillController.php # app/Http/Middleware/HttpBinder.php # app/Transformers/AttachmentTransformer.php # app/Transformers/BillTransformer.php # app/Transformers/NoteTransformer.php # routes/api.php
This commit is contained in:
@@ -72,7 +72,7 @@ class BillTransformer extends TransformerAbstract
|
||||
{
|
||||
$attachments = $bill->attachments()->get();
|
||||
|
||||
return $this->collection($attachments, new AttachmentTransformer,'attachment');
|
||||
return $this->collection($attachments, new AttachmentTransformer, 'attachment');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,7 +84,7 @@ class BillTransformer extends TransformerAbstract
|
||||
{
|
||||
$notes = $bill->notes()->get();
|
||||
|
||||
return $this->collection($notes, new NoteTransformer,'note');
|
||||
return $this->collection($notes, new NoteTransformer, 'note');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user