Feat/controllers - refactor entire backend and new admin interface #75

Merged
KevinMidboe merged 117 commits from feat/controllers into master 2021-02-19 00:19:52 +00:00
Showing only changes of commit 57fe7d444b - Show all commits

View File

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