Skip to content

Commit

Permalink
fix(route/telegram): null username from telegram api
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Oct 28, 2024
1 parent abed9a0 commit d3b0925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/telegram/tglib/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default async function handler(ctx) {
link: `https://t.me/${channelInfo.username}`,
item,
allowEmpty: ctx.req.param('id') === 'allow_empty',
description: `@${channelInfo.username} on Telegram`,
description: `@${ctx.req.param('username')} on Telegram`,
};
}

Expand Down

0 comments on commit d3b0925

Please sign in to comment.