From 542a3178f76b93eb6a27cd2b7cf660fca6c6ea5c Mon Sep 17 00:00:00 2001 From: Walther Lalk Date: Tue, 11 Apr 2017 16:48:00 +0200 Subject: [PATCH] Remove unused association key --- src/Listener/JsonApiListener.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Listener/JsonApiListener.php b/src/Listener/JsonApiListener.php index 37604bce9..e76b8bf8a 100644 --- a/src/Listener/JsonApiListener.php +++ b/src/Listener/JsonApiListener.php @@ -429,7 +429,6 @@ protected function _renderWithResources($subject) '_include' => $this->_getIncludeList($usedAssociations), '_fieldSets' => $this->config('fieldSets'), Inflector::tableize($repository->alias()) => $this->_getFindResult($subject), - '_associations' => $usedAssociations, '_serialize' => true, '_inflect' => $this->config('inflect') ]);