Expand API with available budgets.

This commit is contained in:
James Cole
2018-06-24 08:33:06 +02:00
parent ad6a9a7df7
commit 91701473af
12 changed files with 522 additions and 27 deletions

View File

@@ -74,7 +74,7 @@ class AttachmentTransformer extends TransformerAbstract
*/
public function includeUser(Attachment $attachment): Item
{
return $this->item($attachment->user, new UserTransformer($this->parameters), 'user');
return $this->item($attachment->user, new UserTransformer($this->parameters), 'users');
}
/**