Browse Source

Merge pull request #3662 from overleaf/jpa-fix-proxying-of-clsi-requests

[CompileController] fix proxying of requests w/o clsiserverid

GitOrigin-RevId: 5c29f2f9279097f3c969e8a86ea478806b3b3eee
Jakob Ackermann 5 years ago
parent
commit
e3790b299f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/web/app/src/Features/Compile/CompileController.js

+ 1 - 1
services/web/app/src/Features/Compile/CompileController.js

@@ -488,7 +488,7 @@ module.exports = CompileController = {
       }
       // add any provided query string
       if (qs != null) {
-        options.qs = Object.assign(options.qs, qs)
+        options.qs = Object.assign(options.qs || {}, qs)
       }
       // if we have a build parameter, pass it through to the clsi
       if (