RecipeController.update by default includes rawText in response.
This commit is contained in:
parent
0d86ab6d93
commit
aeadd07f70
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user