Skip to content

Commit

Permalink
Merge pull request #94 from billbill-project/feature/chat
Browse files Browse the repository at this point in the history
[fix] WebhookServiceImpl 생성자 수정
  • Loading branch information
jimmy0524 authored Dec 23, 2024
2 parents a42c788 + e9d97f0 commit 01869fb
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ public class WebhookServiceImpl implements WebhookService {
private final WebClient webClient;
private final ObjectMapper objectMapper;

@Value("${webhook.url}")
private String webhookUrl;

@Autowired
public WebhookServiceImpl(WebClient.Builder webClientBuilder, ObjectMapper objectMapper) {
public WebhookServiceImpl(@Value("${webhook.url}") String webhookUrl,
WebClient.Builder webClientBuilder,
ObjectMapper objectMapper) {
this.webClient = webClientBuilder.baseUrl(webhookUrl).build();
this.objectMapper = objectMapper;
}
Expand Down

0 comments on commit 01869fb

Please sign in to comment.