fix async dependancy
All checks were successful
/ build (push) Successful in 56s

This commit is contained in:
fred 2026-01-02 09:37:31 -08:00
parent e7b2a47cab
commit 081145f900

View file

@ -191,7 +191,7 @@ class RecipeModel {
async deleteRecipe(id: number): Promise<{ message: string }> {
try {
this.deleteRecipeData(id);
await this.deleteRecipeData(id);
const deletedRecipe = await this.prisma.recipes.delete({
where: { id },
});