Skip to content
Snippets Groups Projects
Unverified Commit cae40e68 authored by Nya Candy's avatar Nya Candy Committed by GitHub
Browse files

fix: lint (#12761)

parent 36701f8a
No related branches found
No related tags found
10 merge requests!449release 2024.3.1,!448Release 2023.3.1 - Codename #NotDeadYet,!34Merge Beta3,!35fix: admin css,!36Fix Like button not working on renotes/boosts,!37merge develope,!57Merge Latest Changes,!62fix: background overlaying,!682023.9.1.beta5,!112update develop with stable changes
......@@ -7,7 +7,6 @@ import { URLSearchParams } from 'node:url';
import * as nodemailer from 'nodemailer';
import { Inject, Injectable } from '@nestjs/common';
import { validate as validateEmail } from 'deep-email-validator';
import { SubOutputFormat } from 'deep-email-validator/dist/output/output.js';
import { MetaService } from '@/core/MetaService.js';
import { UtilityService } from '@/core/UtilityService.js';
import { DI } from '@/di-symbols.js';
......@@ -166,7 +165,10 @@ export class EmailService {
email: emailAddress,
});
let validated;
let validated: {
valid: boolean,
reason?: string | null,
};
if (meta.enableActiveEmailValidation) {
if (meta.enableVerifymailApi && meta.verifymailAuthKey != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment