fix email test (#10719)

This commit is contained in:
たーびん 2023-04-27 19:43:00 +09:00 committed by GitHub
parent 6e0f998fb2
commit 5124db57d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ async function testEmail() {
const { canceled, result: destination } = await os.inputText({
title: i18n.ts.destination,
type: 'email',
placeholder: instance.maintainerEmail,
default: instance.maintainerEmail ?? '',
placeholder: 'test@example.com',
minLength: 1,
});
if (canceled) return;
os.apiWithDialog('admin/send-email', {