1
0
forked from mirror/misskey

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

View File

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