fredsonchaves07 / movie-catch-api

🍿 create, manage and rate movies and series api
MIT License
2 stars 1 forks source link

Feat/template email #187

Closed fredsonchaves07 closed 1 year ago

fredsonchaves07 commented 1 year ago

Think about removing this responsibility in the user creation class

    private HashMap<String, Object> createTemplateMail(String token, MessageEmailDTO messageEmailDTO) {
        HashMap<String, Object> templateParams = new HashMap<>();
        templateParams.put("url", apiURL + "/" + token);
        templateParams.put("mesmessageEmail", messageEmailDTO);
        return templateParams;
    }