diff --git a/src/modules/document-handler/index.ts b/src/modules/document-handler/index.ts index cfd86174..41a951d2 100644 --- a/src/modules/document-handler/index.ts +++ b/src/modules/document-handler/index.ts @@ -33,7 +33,8 @@ export class DocumentHandler implements PayableBot { ctx.transient.analytics.module = this.module try { const file = await ctx.getFile() - const documentType = ctx.message.document?.mime_type + const documentType = null + // const documentType = ctx.message.document?.mime_type if (documentType === 'application/pdf' && ctx.chat.id) { const url = file.getUrl() const fileName = ctx.message.document?.file_name ?? file.file_id