feat: update config

This commit is contained in:
Tim
2025-06-30 17:48:11 +08:00
parent b0c876417d
commit aa6d32e7dd
4 changed files with 18 additions and 1 deletions
@@ -30,7 +30,7 @@ public class EmailService {
body.put("to", to);
body.put("subject", subject);
body.put("text", text);
body.put("from", "[email protected]");
body.put("from", "[email protected]"); // todo(tim): use config
HttpEntity<Map<String, String>> entity = new HttpEntity<>(body, headers);
restTemplate.exchange(url, HttpMethod.POST, entity, String.class);