diff --git a/backend/src/main/java/net/alex9849/cocktailmaker/service/EventService.java b/backend/src/main/java/net/alex9849/cocktailmaker/service/EventService.java index 45a79e65..7f557e5d 100644 --- a/backend/src/main/java/net/alex9849/cocktailmaker/service/EventService.java +++ b/backend/src/main/java/net/alex9849/cocktailmaker/service/EventService.java @@ -251,8 +251,6 @@ public static PlayAudioEventAction fromDto(PlayAudioEventActionDto.Request.Creat } PlayAudioEventAction eventAction = new PlayAudioEventAction(); BeanUtils.copyProperties(dto, eventAction); - eventAction.setFile(file.getBytes()); - eventAction.setFileName(file.getOriginalFilename()); eventAction.setExecutionGroups(new HashSet<>(dto.getExecutionGroups())); if(file != null) { eventAction.setFile(file.getBytes());