mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
[Router] _handleError: ol_context.doc_id does not exist, drop overwrite
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user