Skip to content

Commit

Permalink
HOTFIX: registrationEmail() moved
Browse files Browse the repository at this point in the history
  • Loading branch information
breed committed Aug 7, 2023
1 parent 5177af2 commit 6da1b6d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package edu.sjsu.moth.server.worker;

import edu.sjsu.moth.server.controller.AppController;
import edu.sjsu.moth.server.service.AuthService;
import edu.sjsu.moth.server.service.EmailService;
import lombok.extern.apachecommons.CommonsLog;
import org.simplejavamail.email.EmailBuilder;
Expand Down Expand Up @@ -36,8 +36,8 @@ public void run(ApplicationArguments args) {
return true;
});
emailService.sendMail(EmailBuilder.startingBlank()
.to(AppController.registrationEmail())
.from(AppController.registrationEmail())
.to(AuthService.registrationEmail())
.from(AuthService.registrationEmail())
.withSubject(randSubject)
.withPlainText("checking email")
.buildEmail());
Expand Down

0 comments on commit 6da1b6d

Please sign in to comment.