diff --git a/src/server.js b/src/server.js index aa82fd4..669dfba 100644 --- a/src/server.js +++ b/src/server.js @@ -207,8 +207,8 @@ app.post('/bot/messenger-login', async (req, res) => { 'http://localhost:3000' ).replace(/\/$/, ''); const nextPath = startSession.redirectPath || ( - startSession.userId - ? `/profile/notifications?status=success&connected=${channel.toLowerCase()}` + channel === 'TELEGRAM' + ? `/profile/notifications/success?connected=${channel.toLowerCase()}` : '' ); const loginQuery = new URLSearchParams({