Status API response: needsSetup

This commit is contained in:
Wayne
2025-09-03 14:44:50 +03:00
parent fbff3059c9
commit 4c0ab37ada

View File

@@ -121,7 +121,7 @@ export class AuthController {
);
return res.status(200).json({ needsSetup: false });
}
return res.status(200).json({ needsSetupUser });
return res.status(200).json({ needsSetup: needsSetupUser });
} catch (error) {
console.error('Status check error:', error);
return res.status(500).json({ message: req.t('errors.internalServerError') });