fix type
This commit is contained in:
parent
da88e3a3b1
commit
89ef21e3b0
4 changed files with 11 additions and 3 deletions
|
@ -159,7 +159,7 @@ export class EmailService {
|
|||
validateTypo: false, // TLDを見ているみたいだけどclubとか弾かれるので
|
||||
validateDisposable: true, // 捨てアドかどうかチェック
|
||||
validateSMTP: false, // 日本だと25ポートが殆どのプロバイダーで塞がれていてタイムアウトになるので
|
||||
}) : { valid: true };
|
||||
}) : { valid: true, reason: null };
|
||||
|
||||
const available = exist === 0 && validated.valid;
|
||||
|
||||
|
|
|
@ -41,8 +41,8 @@ export const meta = {
|
|||
optional: false, nullable: true,
|
||||
},
|
||||
host: {
|
||||
type: 'null',
|
||||
optional: false,
|
||||
type: 'string',
|
||||
optional: false, nullable: true,
|
||||
description: 'The local host is represented with `null`. The field exists for compatibility with other API endpoints that return files.',
|
||||
},
|
||||
url: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue