Skip to content

Commit

Permalink
fix: 디스코드 메시지 프로바이더 매개변수 변경 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwoongH committed Apr 19, 2024
1 parent d734f31 commit 6018496
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import lombok.RequiredArgsConstructor;
import org.doorip.exception.InvalidValueException;
import org.doorip.message.ErrorMessage;
import org.doorip.message.EventMessage;
import org.springframework.stereotype.Component;

import static org.doorip.openfeign.discord.DiscordMessage.createDiscordMessage;
Expand All @@ -14,8 +13,8 @@
public class DiscordMessageProvider {
private final DiscordFeignClient discordFeignClient;

public void sendMessage(EventMessage eventMessage) {
DiscordMessage discordMessage = createDiscordMessage(eventMessage.getMessage());
public void sendMessage(String message) {
DiscordMessage discordMessage = createDiscordMessage(message);
sendMessageToDiscord(discordMessage);
}

Expand Down

0 comments on commit 6018496

Please sign in to comment.