My code is very similar…
const socketOptions = {
params: { token },
logger: (kind, msg, data) => (
// eslint-disable-next-line no-console
console.log(`${kind}: ${msg}`, data)
),
};
But your log shows no token in params for the second call.


















