RecipeController.update by default includes rawText in response.

This commit is contained in:
Jesse Brault 2024-08-17 11:10:19 -05:00
parent 0d86ab6d93
commit aeadd07f70

View File

@ -72,7 +72,7 @@ public class RecipeController {
public ResponseEntity<Map<String, Object>> updateByUsernameAndSlug(
@PathVariable String username,
@PathVariable String slug,
@RequestParam(defaultValue = "false") boolean includeRawText,
@RequestParam(defaultValue = "true") boolean includeRawText,
@RequestBody RecipeUpdateSpec updateSpec,
@AuthenticationPrincipal User principal
) throws ImageException, RecipeException {