fix(route/telegram): use tglib when no routeParams

This commit is contained in:
pseudoyu 2024-11-01 02:18:35 +07:00
parent 7ef0be848f
commit 0d3a6dc589
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ For backward compatibility reasons, invalid \`routeParams\` will be treated as \
};
async function handler(ctx) {
if (ctx.req.param('routeParams') && config.telegram.session) {
if (!ctx.req.param('routeParams') && config.telegram.session) {
return tglibchannel(ctx);
}