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:
James Cole
2018-02-09 14:57:39 +01:00
6 changed files with 104 additions and 45 deletions

View File

@@ -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');
}
/**