diff --git a/services/real-time/app/js/Router.js b/services/real-time/app/js/Router.js index ba85f05d0b..ec6de5136f 100644 --- a/services/real-time/app/js/Router.js +++ b/services/real-time/app/js/Router.js @@ -29,7 +29,7 @@ module.exports = Router = { _handleError(callback, error, client, method, attrs) { attrs = attrs || {} for (const key of ['project_id', 'user_id']) { - attrs[key] = client.ol_context[key] + attrs[key] = attrs[key] || client.ol_context[key] } attrs.client_id = client.id attrs.err = error