1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-25 08:09:41 +02:00

fix(backend): 🐛 Fix CI/CD Linting Failures

This commit is contained in:
hay-kot 2021-08-23 15:33:39 -08:00
parent abb0b84e22
commit d1a7ec3b95
15 changed files with 48 additions and 37 deletions

View file

@ -1,4 +1,5 @@
import { useAsync, ref } from "@nuxtjs/composition-api";
import {set } from "@vueuse/core"
import { useAsyncKey } from "./use-utils";
import { useApiSingleton } from "~/composables/use-api";
import { Recipe } from "~/types/api-types/recipe";
@ -29,7 +30,8 @@ export const useRecipes = (all = false, fetchRecipes = true) => {
async function refreshRecipes() {
const { data } = await api.recipes.getAll(start, end);
if (data) {
recipes.value = data;
set(recipes, data);
}
}