Skip to content

Commit 4b0215d

Browse files
authored
fix(route/telegram): fix import style (#18926)
1 parent 71624ad commit 4b0215d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/routes/telegram/tglib/channel.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import InvalidParameterError from '@/errors/types/invalid-parameter';
22
import { client, decodeMedia, getClient, getFilename, getMediaLink, streamDocument, streamThumbnail } from './client';
3-
import { returnBigInt as bigInt } from 'telegram/Helpers';
4-
import { HTMLParser } from 'telegram/extensions/html';
3+
import { returnBigInt as bigInt } from 'telegram/Helpers.js';
4+
import { HTMLParser } from 'telegram/extensions/html.js';
55
import { DataItem } from '@/types';
66
import type { Api } from 'telegram';
77

lib/routes/telegram/tglib/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Api, TelegramClient } from 'telegram';
22
import { UserAuthParams } from 'telegram/client/auth';
3-
import { StringSession } from 'telegram/sessions';
4-
import { getAppropriatedPartSize } from 'telegram/Utils';
3+
import { StringSession } from 'telegram/sessions/index.js';
4+
import { getAppropriatedPartSize } from 'telegram/Utils.js';
55

66
import { config } from '@/config';
77
import ConfigNotFoundError from '@/errors/types/config-not-found';

0 commit comments

Comments
 (0)