From 2094d1bb754aa566084d6b80655639cce4861d07 Mon Sep 17 00:00:00 2001 From: alex9849 Date: Tue, 5 Apr 2022 21:11:38 +0200 Subject: [PATCH] fixed eventaction update bug --- .../java/net/alex9849/cocktailmaker/service/EventService.java | 2 -- 1 file changed, 2 deletions(-) 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());