diff --git a/api/registry-validation.mjs b/api/registry-validation.mjs index afe7819..61e07b9 100644 --- a/api/registry-validation.mjs +++ b/api/registry-validation.mjs @@ -88,7 +88,7 @@ const check = async ( if (!passed) return false; return mod.authors.map((author) => [ check(mod, 'authors.author.name', author.name, 'string'), - check(mod, 'authors.author.email', author.email, 'email'), + check(mod, 'authors.author.email', author.email, 'email', { optional: true }), check(mod, 'authors.author.homepage', author.homepage, 'url'), check(mod, 'authors.author.avatar', author.avatar, 'url'), ]);