Build query string with style

This commit is contained in:
Alberto Fernández Capel 2018-01-23 12:47:51 +00:00
parent b3b05d1af3
commit 8714909a9a

View file

@ -48,7 +48,10 @@ module.exports =
json: true json: true
method: "PUT" method: "PUT"
timeout: 1000 timeout: 1000
url: "/editingSession?userId=#{userId}&projectId=#{projectId}" url: "/editingSession"
qs:
userId: userId
projectId: projectId
makeRequest opts, callback makeRequest opts, callback