[ ] Refactoring (no functional changes, no api changes)
[ ] Other (please describe):
Fix issue #54
How to test this PR
Run tests composer run test
The test is Integration: get one story with the option with cache
What is the new behavior?
The previous code: in the case of caching and published story, before to call perform a call, try to call the API to retrieve the CV. This last call recalls itself again to retrieve the CV (loop).
The current behavior is: in the case of published stories, it retrieves the data without CV and, after that, stores in the cache the data and the new cv.
Pull request type
Fix issue #54
How to test this PR
Run tests
composer run test
The test is Integration: get one story with the option with cacheWhat is the new behavior?
The previous code: in the case of caching and published story, before to call perform a call, try to call the API to retrieve the CV. This last call recalls itself again to retrieve the CV (loop). The current behavior is: in the case of published stories, it retrieves the data without CV and, after that, stores in the cache the data and the new cv.