From 8714909a9a2435b67c361f35f9528d91da7775e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Fern=C3=A1ndez=20Capel?= Date: Tue, 23 Jan 2018 12:47:51 +0000 Subject: [PATCH] Build query string with style --- .../app/coffee/Features/Analytics/AnalyticsManager.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee b/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee index e77139ed7b..085d9d19b3 100644 --- a/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee +++ b/services/web/app/coffee/Features/Analytics/AnalyticsManager.coffee @@ -48,7 +48,10 @@ module.exports = json: true method: "PUT" timeout: 1000 - url: "/editingSession?userId=#{userId}&projectId=#{projectId}" + url: "/editingSession" + qs: + userId: userId + projectId: projectId makeRequest opts, callback