Skip to content

Commit

Permalink
fix: correct the type of the body for the road generateIngredientsList
Browse files Browse the repository at this point in the history
  • Loading branch information
linerol committed Dec 11, 2024
1 parent 2693015 commit 0b236f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/recipe/recipes.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class RecipesController {
}
}

@ApiBody({ type: IngredientDetailDto })
@ApiBody({ type: [String] })
@ApiOperation({ summary: 'Find all ingredients based on many recipes' })
@Post('generate-ingredients-list')
async generateIngredientsList(
Expand Down

0 comments on commit 0b236f9

Please sign in to comment.