MME-25 Ensure recipe times are transferred from spec to entity.

This commit is contained in:
Jesse Brault 2026-02-10 15:59:18 -06:00
parent fd3728eb4d
commit fe0f70cf7d

View File

@ -53,6 +53,9 @@ public class RecipeService {
draft.setRawText(spec.getRawText());
draft.setMainImage(spec.getMainImage());
draft.setIsPublic(spec.isPublic());
draft.setPreparationTime(spec.getPreparationTime());
draft.setCookingTime(spec.getCookingTime());
draft.setTotalTime(spec.getTotalTime());
final Recipe saved = this.recipeRepository.save(draft);
if (queueSummaryJob) {
this.jobService.create(