mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
working search with flat endpoint
This commit is contained in:
@@ -29,7 +29,7 @@ export default defineComponent({
|
||||
methods: {
|
||||
refreshData(recipeId: string) {
|
||||
const api = new ApiApi()
|
||||
api.retrieveRecipe({id: recipeId}).then(r => {
|
||||
api.apiRecipeRetrieve({id: Number(recipeId)}).then(r => {
|
||||
this.recipe = r
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user