Feat/vinmonopolet elastic cache #86

Merged
KevinMidboe merged 3 commits from feat/vinmonopolet-elastic-cache into master 2021-04-30 07:56:59 +00:00
Showing only changes of commit a700de6e2e - Show all commits

View File

@@ -36,9 +36,9 @@ function wineByEAN(req, res) {
function wineById(req, res) {
const { id } = req.params;
return vinmonopoletRepository.wineById(id).then(wines =>
return vinmonopoletRepository.wineById(id).then(wine =>
res.json({
wine: wines[0],
wine: wine,
success: true
})
)