diff --git a/apps/bot/src/bot/features/welcome.ts b/apps/bot/src/bot/features/welcome.ts index 1da9b4b..43c79bb 100644 --- a/apps/bot/src/bot/features/welcome.ts +++ b/apps/bot/src/bot/features/welcome.ts @@ -14,7 +14,7 @@ feature.command('start', logHandle('command-start'), async (ctx) => { const telegramId = ctx.from.id; const registrationService = new RegistrationService(); - const { customer } = await registrationService.getCustomer({ telegramId }); + const { customer } = await registrationService.checkCustomerExists({ telegramId }); if (customer) { // Пользователь уже зарегистрирован — приветствуем