[Router] _handleError: ol_context.doc_id does not exist, drop overwrite

This commit is contained in:
Jakob Ackermann 2020-08-20 14:03:03 +01:00
parent c7b9dadd16
commit fd88819eec

View file

@ -27,7 +27,7 @@ let Router
module.exports = Router = {
_handleError(callback, error, client, method, attrs) {
attrs = attrs || {}
for (const key of ['project_id', 'doc_id', 'user_id']) {
for (const key of ['project_id', 'user_id']) {
attrs[key] = client.ol_context[key]
}
attrs.client_id = client.id