#2 баг загрузки ингредиента из модального окна коктейлей
This commit is contained in:
@@ -70,7 +70,7 @@ class IngredientClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
findOne(id, selectIngredient, createError) {
|
findOne(id, selectIngredient, createError) {
|
||||||
api().get(`${requests.bar.ingredient}?id=${id}`)
|
api().get(`${requests.ingredient.crud}?id=${id}`)
|
||||||
.then((r) => {
|
.then((r) => {
|
||||||
selectIngredient(r.data)
|
selectIngredient(r.data)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user