Show More
@@ -267,8 +267,15 b' def callconduit(ui, name, params):' | |||
|
267 | 267 | url, authinfo = util.url(b'/'.join([host, b'api', name])).authinfo() |
|
268 | 268 | ui.debug(b'Conduit Call: %s %s\n' % (url, pycompat.byterepr(params))) |
|
269 | 269 | params = params.copy() |
|
270 |
params[b' |
|
|
271 | data = urlencodenested(params) | |
|
270 | params[b'__conduit__'] = { | |
|
271 | b'token': token, | |
|
272 | } | |
|
273 | rawdata = { | |
|
274 | b'params': templatefilters.json(params), | |
|
275 | b'output': b'json', | |
|
276 | b'__conduit__': 1, | |
|
277 | } | |
|
278 | data = urlencodenested(rawdata) | |
|
272 | 279 | curlcmd = ui.config(b'phabricator', b'curlcmd') |
|
273 | 280 | if curlcmd: |
|
274 | 281 | sin, sout = procutil.popen2( |
General Comments 0
You need to be logged in to leave comments.
Login now