fix "registrationService.getCustomer is not a function"

This commit is contained in:
vchikalkin 2025-10-09 00:33:25 +03:00
parent 8e61fbbb40
commit aa11ecfcec

View File

@ -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) {
// Пользователь уже зарегистрирован — приветствуем