From aa11ecfcec809292fb4384032e194bbf53b3859e Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 9 Oct 2025 00:33:25 +0300 Subject: [PATCH] fix "registrationService.getCustomer is not a function" --- apps/bot/src/bot/features/welcome.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { // Пользователь уже зарегистрирован — приветствуем