Skip to content

Commit

Permalink
add profile to email
Browse files Browse the repository at this point in the history
  • Loading branch information
trevlenb2 committed Nov 3, 2024
1 parent 4a0d334 commit ba07a97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Profile;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
@Qualifier("Email")
@Profile("Email")
public class EmailService {

private final JavaMailSender mailSender;
Expand Down

0 comments on commit ba07a97

Please sign in to comment.