fix: wrong path.

This commit is contained in:
Darshan 2025-11-29 17:49:52 +05:30
parent 64dbb28612
commit 27b8b23c07

View file

@ -144,7 +144,8 @@ class Create extends Action
$challenge = $dbForProject->createDocument('challenges', $challenge);
$templatesPath = \dirname(__DIR__, 7) . '/app/config/locale/templates';
// 9 levels up to project root
$templatesPath = \dirname(__DIR__, 9) . '/app/config/locale/templates';
switch ($factor) {
case Type::PHONE: