MME-25 Ensure recipe times are transferred from spec to entity.
This commit is contained in:
parent
fd3728eb4d
commit
fe0f70cf7d
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user