diff --git a/src/Feed.php b/src/Feed.php index c6d097a..225a357 100644 --- a/src/Feed.php +++ b/src/Feed.php @@ -22,9 +22,7 @@ public function __construct(array $feedConfiguration) public function getFeedResponse() : Response { - $feedContent = $this->getFeedContent($this->feedConfiguration); - - return response($feedContent, 200, ['Content-Type' => 'application/xml;charset=UTF-8']); + return response($this->getFeedContent(), 200, ['Content-Type' => 'application/xml;charset=UTF-8']); } public function getFeedContent() : string