Skip to content

Commit

Permalink
fix(reply service): use custom context instead of telegraf context
Browse files Browse the repository at this point in the history
  • Loading branch information
havrydotdev committed Oct 19, 2023
1 parent b81eb58 commit 0d3dfbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frameworks/reply/telegraf/telegraf-reply.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { I18nService } from 'nestjs-i18n';
import { IReplyService } from 'src/core/abstracts/reply.abstract.service';
import { Extra } from 'src/core/types';
import { I18nTranslations } from 'src/generated/i18n.generated';
import { Context } from 'telegraf/typings';
import { MessageContext } from 'src/types/telegraf';

@Injectable()
class TelegrafReplyService extends IReplyService {
Expand All @@ -13,7 +13,7 @@ class TelegrafReplyService extends IReplyService {
}

async reply(
ctx: Context,
ctx: MessageContext,
msgCode: PathImpl2<I18nTranslations>,
extra?: Extra,
): Promise<void> {
Expand Down

0 comments on commit 0d3dfbe

Please sign in to comment.